Meeting SDK for iOS API Reference
|
It provides Remote Control Service. More...
#include <MobileRTCRemoteControlService.h>
Inherits NSObject.
Instance Methods | |
(BOOL) | - isHaveRemoteControlRight: |
Query if current user have control privilege. You can have this after be assigned to have remote control privilege. | |
(BOOL) | - isRemoteController: |
Query if the current user gets remote control privilege. | |
(MobileRTCRemoteControlError) | - grabRemoteControlView: |
Set to enable remote control. User should tap the screen icon once received the privilege to control one's screen remotely. | |
(MobileRTCRemoteControlError) | - remoteControlSingleTap: |
Simulate a mouse click with a finger clicking once on the screen. | |
(MobileRTCRemoteControlError) | - remoteControlDoubleTap: |
Simulate a mouse double-click with a finger clicking twice successively on the screen. | |
(MobileRTCRemoteControlError) | - remoteControlLongPress: |
Simulate a mouse right-click with a finger pressing phone screen for more than 3 seconds. | |
(MobileRTCRemoteControlError) | - remoteControlDoubleScroll: |
Simulate a mouse scroll with two fingers scrolling up and down. | |
(MobileRTCRemoteControlError) | - remoteControlSingleMove: |
Move remote cursor by dragging mouse icon on phone screen. | |
(MobileRTCRemoteControlError) | - remoteControlMouseLeftDown: |
Simulate a mouse right-click with a finger pressing phone screen for more than 3 seconds. | |
(MobileRTCRemoteControlError) | - remoteControlMouseLeftUp: |
Simulate release the left mouse button. | |
(MobileRTCRemoteControlError) | - remoteControlMouseLeftDrag: |
Simulate a mouse left-click and drag. User clicks the mouse icon on the screen for 3s and drag it. | |
(MobileRTCRemoteControlError) | - remoteControlCharInput: |
Simulate a keyboard to input text. | |
(MobileRTCRemoteControlError) | - remoteControlKeyInput: |
Simulate Enter key or delete key of the keyboard. | |
Properties | |
id< MobileRTCRemoteControlDelegate > _Nullable | delegate |
Callback event of receiving remote control. | |
It provides Remote Control Service.
Definition at line 31 of file MobileRTCRemoteControlService.h.
- (MobileRTCRemoteControlError) grabRemoteControlView: | (MobileRTCActiveShareView *_Nonnull) | remoteShareView |
Set to enable remote control. User should tap the screen icon once received the privilege to control one's screen remotely.
remoteShareView | The remote shared view. |
- (BOOL) isHaveRemoteControlRight: | (MobileRTCActiveShareView *_Nonnull) | remoteShareView |
Query if current user have control privilege. You can have this after be assigned to have remote control privilege.
remoteShareView | The remote shared view. |
- (BOOL) isRemoteController: | (MobileRTCActiveShareView *_Nonnull) | remoteShareView |
Query if the current user gets remote control privilege.
remoteShareView | The remote shared view. |
- (MobileRTCRemoteControlError) remoteControlCharInput: | (NSString *_Nonnull) | str |
Simulate a keyboard to input text.
str | Input text from keyboard. |
- (MobileRTCRemoteControlError) remoteControlDoubleScroll: | (CGPoint) | point |
Simulate a mouse scroll with two fingers scrolling up and down.
point | It is recommended to pass the arguments: CGPointMake(0, -1) for scrolling up, It is recommended to pass the arguments: CGPointMake(0, 1) for scrolling down. |
- (MobileRTCRemoteControlError) remoteControlDoubleTap: | (CGPoint) | point |
Simulate a mouse double-click with a finger clicking twice successively on the screen.
point | The point where user clicks corresponds to the location of the content. |
- (MobileRTCRemoteControlError) remoteControlKeyInput: | (MobileRTCRemoteControlInputType) | key |
Simulate Enter key or delete key of the keyboard.
key | A value of the enumeration of MobileRTCRemoteControlInputType. |
- (MobileRTCRemoteControlError) remoteControlLongPress: | (CGPoint) | point |
Simulate a mouse right-click with a finger pressing phone screen for more than 3 seconds.
point | The point where user clicks corresponds to the location of the content. |
- (MobileRTCRemoteControlError) remoteControlMouseLeftDown: | (CGPoint) | point |
Simulate a mouse right-click with a finger pressing phone screen for more than 3 seconds.
point | The point where user clicks corresponds to the location of the content. |
- (MobileRTCRemoteControlError) remoteControlMouseLeftDrag: | (CGPoint) | point |
Simulate a mouse left-click and drag. User clicks the mouse icon on the screen for 3s and drag it.
point | The trajectory of the simulated mouse. |
- (MobileRTCRemoteControlError) remoteControlMouseLeftUp: | (CGPoint) | point |
Simulate release the left mouse button.
point | The point where user clicks corresponds to the location of the content. |
- (MobileRTCRemoteControlError) remoteControlSingleMove: | (CGPoint) | point |
Move remote cursor by dragging mouse icon on phone screen.
point | The point where user clicks corresponds to the location of the content. |
- (MobileRTCRemoteControlError) remoteControlSingleTap: | (CGPoint) | point |
Simulate a mouse click with a finger clicking once on the screen.
point | The point where user clicks corresponds to the location of the content. |
|
readwritenonatomicweak |
Callback event of receiving remote control.
Definition at line 35 of file MobileRTCRemoteControlService.h.