Package us.zoom.sdk
Interface ZoomVideoSDKCmdChannel
public interface ZoomVideoSDKCmdChannel
The command channel
allows users to send commands or data (such as plain text or a binary encoded into string) to other users in the same session.
See
ZoomVideoSDK.getCmdChannel()
-
Method Summary
Modifier and TypeMethodDescriptionint
sendCommand
(ZoomVideoSDKUser receiver, String strCmd) Send custom commands or data to other users in the current session.
-
Method Details
-
sendCommand
Send custom commands or data to other users in the current session. Limit: up to 60 custom commands per second.- Parameters:
receiver
- An instance of ZoomVideoSDKUser associated with the user who receives the command. SeeZoomVideoSDKUser
If receiver is set tonull
, the command is broadcast to all users.strCmd
- the custom commands or data, represented in string format.- Returns:
Errors_Success
if the command sends successfully. Otherwise, the send command request fails. See error codes defined inZoomVideoSDKErrors
.
-