The CommandService allows the application to send textual ChatMessage messages to all clients and redistributes them across the EventBus. It also emits events informing about the statuses of message transmission. The BroadcastEvent informs that the message is broadcasted. The MessageReceived event informs that the message is received at the specific conference.
Available in the package com.voxeet.sdk.services.CommandService.
conferenceId: String, @NonNull
message: String): Promise<Boolean>
Sends the message to the conference. The message must be in the form of a string or a representation of strings (json or base64).
|conferenceId||String||non null ID of the conference to which the message should be sent|
|message||String||non null actual message content (any possible string)|
Returns: @NonNull Promise<Boolean> - the promise to resolve.
Contains chat information.
Available in the package com.voxeet.sdk.services.chat.ChatMessageEvent.
The instance of the participant that emitted the message.
The instance of the sent message.
Emitted when the message is broadcasted.
Available in the package com.voxeet.sdk.json.BroadcastEvent.
This object can be accessed through the Websocket usage.
The instance of the message.
The ID of the participant that created the call.
Emitted when the message from the specific participant is received at the specific conference.
Available in the package com.voxeet.sdk.events.sdk.MessageReceived.
The ID of the sender.
The conference ID.
The corresponding message.