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. SeeZoomVideoSDK.getCmdChannel()
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    sendCommand(ZoomVideoSDKUser receiver, String strCmd)
    Send custom commands or data to other users in the current session.
  • Method Details

    • sendCommand

      int sendCommand(@Nullable ZoomVideoSDKUser receiver, String strCmd)
      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. See ZoomVideoSDKUser If receiver is set to null, 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 in ZoomVideoSDKErrors.