public interface InMeetingRemoteController
Modifier and Type | Interface and Description |
---|---|
static interface |
InMeetingRemoteController.InMeetingRemoteControlListener |
static class |
InMeetingRemoteController.MobileRTCRemoteControlInputType
Type of operations when the user is in remote controlling.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(InMeetingRemoteController.InMeetingRemoteControlListener listener)
Register a listener for remote control event.
|
MobileRTCSDKError |
grabRemoteControl()
Set to enable remote control.
|
boolean |
hasRemoteControlPrivilegeWithUserId(long userID)
Query if the current user has the remote control privilege.
|
boolean |
isRemoteController()
Query if the current user gets the remote control privilege.
|
MobileRTCSDKError |
remoteControlCharInput(java.lang.String str)
Simulate keyboard input.
|
MobileRTCSDKError |
remoteControlDoubleScroll(float x,
float y)
Simulate a mouse scroll with two fingers scrolling up and down.
|
MobileRTCSDKError |
remoteControlDoubleTap(float x,
float y)
Simulate a mouse double-click with a finger clicking twice successively on the screen.
|
MobileRTCSDKError |
remoteControlKeyInput(InMeetingRemoteController.MobileRTCRemoteControlInputType keyType)
Simulate an Enter key or Delete key on the keyboard.
|
MobileRTCSDKError |
remoteControlLongPress(float x,
float y)
Simulate a mouse right-click with a finger pressing phone screen for more than 3 seconds.
|
MobileRTCSDKError |
remoteControlSingleMove(float x,
float y)
Move remote cursor by dragging mouse icon on phone.
|
MobileRTCSDKError |
remoteControlSingleTap(float x,
float y)
Simulate a mouse click with a finger clicking once on the screen.
|
void |
removeListener(InMeetingRemoteController.InMeetingRemoteControlListener listener)
Unregister the listener for remote control event.
|
MobileRTCSDKError |
startRemoteControl()
Set to start remote controlling.
|
void addListener(InMeetingRemoteController.InMeetingRemoteControlListener listener)
listener
- The listener instance defined in InMeetingRemoteController.InMeetingRemoteControlListener
.void removeListener(InMeetingRemoteController.InMeetingRemoteControlListener listener)
listener
- The listener instance defined in InMeetingRemoteController.InMeetingRemoteControlListener
.boolean hasRemoteControlPrivilegeWithUserId(long userID)
userID
- The ID of current user who has the remote control privilege in meeting.MobileRTCSDKError
.MobileRTCSDKError startRemoteControl()
MobileRTCSDKError
.boolean isRemoteController()
MobileRTCSDKError grabRemoteControl()
MobileRTCSDKError
.MobileRTCSDKError remoteControlSingleTap(float x, float y)
x
- The value of x coordinate of the shared content window. When user clicks on phone screen, the value of the x coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that of monitor.y
- The value of y coordinate of the shared content window. When user clicks on phone screen, the value of the y coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.MobileRTCSDKError
.MobileRTCSDKError remoteControlDoubleTap(float x, float y)
x
- The value of x coordinate of the shared content window. When user clicks on phone screen, the value of the x coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.y
- The value of y coordinate of the shared content window. When user clicks on phone screen, the value of the y coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.MobileRTCSDKError
.MobileRTCSDKError remoteControlLongPress(float x, float y)
x
- The value of x coordinate of the shared content window. When user clicks on phone screen, the value of the x coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.y
- The value of y coordinate of the shared content window. When user clicks on phone screen, the value of the y coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.MobileRTCSDKError
.MobileRTCSDKError remoteControlDoubleScroll(float x, float y)
x
- The value of x coordinate of the shared content window. When user clicks on phone screen, the value of the x coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.y
- The value of y coordinate of the shared content window. When user clicks on phone screen, the value of the y coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.MobileRTCSDKError
.MobileRTCSDKError remoteControlSingleMove(float x, float y)
x
- The value of x coordinate of the shared content window. When user clicks on phone screen, the value of the x coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.y
- The value of y coordinate of the shared content window. When user clicks on phone screen, the value of the y coordinate on the phone is not as same as that of sharing monitor. The former will be converted by Api to that on the monitor.MobileRTCSDKError
.MobileRTCSDKError remoteControlCharInput(java.lang.String str)
str
- The characters input in remote control.MobileRTCSDKError
.MobileRTCSDKError remoteControlKeyInput(InMeetingRemoteController.MobileRTCRemoteControlInputType keyType)
keyType
- The types of button defined in InMeetingRemoteController.MobileRTCRemoteControlInputType
.MobileRTCSDKError
.