Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKRemoteControllerHelper Class Reference

Helper class to manage remote control operations in Zoom meeting. More...

#include <ZoomSDKRemoteControllerHelper.h>

Inherits NSObject.

Instance Methods

(ZoomSDKError- canRequestRemoteControl:
 Determines if the current user to request to control others remotely.
 
(ZoomSDKError- haveRemoteControlPrivilege:
 Determines if user has privilege to control the specified user remotely.
 
(ZoomSDKError- isInRemoteControlling:
 Determines if the current user is controlling the specified user remotely.
 
(ZoomSDKError- startRemoteControl:
 Starts remotely controlling the specified user's computer.
 
(ZoomSDKError- stopRemoteControl:
 Stops controlling remotely.
 
(ZoomSDKError- requestRemoteControl:
 Request remotely control the specified user.
 
(ZoomSDKError- giveUpRemoteControl:
 Give up remotely controlling the specified user.
 
(ZoomSDKError- giveRemoteControlPrivilegeTo:
 Give the remote control privilege to the specified user.
 
(ZoomSDKError- declineRemoteControlRequest:
 Refuse the request to remote control from the specified user.
 
(ZoomSDKError- revokeRemoteControl
 Gets back the authority of remote control.
 
(ZoomSDKError- getCurrentRemoteController:
 Gets the identity of current controller.
 
(ZoomSDKError- sendRemoteControlEvent:ShareView:
 Sends remote control action.
 
(BOOL) - IsAutoAcceptRemoteControlFeatureEnabled
 Determines if the auto accept remote control requests feature is enabled in the meeting.
 
(ZoomSDKError- canEnableAutoAcceptRemoteControlFeature
 Whether the current user can enable the auto accept remote control requests feature.
 
(ZoomSDKError- enableAutoAcceptRemoteControlFeature:
 Enables or disable auto accept remote control requests feature.
 

Protected Attributes

id< ZoomSDKRemoteControllerDelegate_delegate
 

Properties

id< ZoomSDKRemoteControllerDelegatedelegate
 The delegate to receive remote control status updates.
 

Detailed Description

Helper class to manage remote control operations in Zoom meeting.

Definition at line 35 of file ZoomSDKRemoteControllerHelper.h.

Method Documentation

◆ canEnableAutoAcceptRemoteControlFeature

- (ZoomSDKError) canEnableAutoAcceptRemoteControlFeature

Whether the current user can enable the auto accept remote control requests feature.

Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ canRequestRemoteControl:

- (ZoomSDKError) canRequestRemoteControl: (unsigned int) shareSourceID

Determines if the current user to request to control others remotely.

Parameters
shareSourceIDThe user's source ID to be controlled remotely.
Returns
If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
Note
For custom style mode, this interface is only valid after subscribing the sharing content from the specified user by successfully calling "- (ZoomSDKError)createShareElement:(ZoomSDKShareElement**)element" and set the share element userid.

◆ declineRemoteControlRequest:

- (ZoomSDKError) declineRemoteControlRequest: (unsigned int) userid

Refuse the request to remote control from the specified user.

Parameters
useridThe ID of demander.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ enableAutoAcceptRemoteControlFeature:

- (ZoomSDKError) enableAutoAcceptRemoteControlFeature: (BOOL) enable

Enables or disable auto accept remote control requests feature.

Parameters
enableYES if auto accept remote control requests are enabled, NO if disabled.
Returns
If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
Note
Before using this interface, it is necessary to give the app accessibility permissions in the System Settings.

◆ getCurrentRemoteController:

- (ZoomSDKError) getCurrentRemoteController: (unsigned int *) userid

Gets the identity of current controller.

Parameters
useridThe pointer to unsigned int. If the function calls successfully, it returns the user ID of current remote controller.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ giveRemoteControlPrivilegeTo:

- (ZoomSDKError) giveRemoteControlPrivilegeTo: (unsigned int) userid

Give the remote control privilege to the specified user.

Parameters
useridThe ID of user that you ask to control yourself remotely.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ giveUpRemoteControl:

- (ZoomSDKError) giveUpRemoteControl: (unsigned int) shareSourceID

Give up remotely controlling the specified user.

Parameters
shareSourceIDThe source ID of user that was remotely controlled.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ haveRemoteControlPrivilege:

- (ZoomSDKError) haveRemoteControlPrivilege: (unsigned int) shareSourceID

Determines if user has privilege to control the specified user remotely.

Parameters
shareSourceIDThe source ID of user to be checked.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ IsAutoAcceptRemoteControlFeatureEnabled

- (BOOL) IsAutoAcceptRemoteControlFeatureEnabled

Determines if the auto accept remote control requests feature is enabled in the meeting.

Returns
YES if the feature enabled. Otherwise, NO.

◆ isInRemoteControlling:

- (ZoomSDKError) isInRemoteControlling: (unsigned int) shareSourceID

Determines if the current user is controlling the specified user remotely.

Parameters
shareSourceIDThe source ID of user to be checked.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ requestRemoteControl:

- (ZoomSDKError) requestRemoteControl: (unsigned int) shareSourceID

Request remotely control the specified user.

Parameters
shareSourceIDThe source ID of user to be controlled.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ revokeRemoteControl

- (ZoomSDKError) revokeRemoteControl

Gets back the authority of remote control.

Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ sendRemoteControlEvent:ShareView:

- (ZoomSDKError) sendRemoteControlEvent: (NSEvent *) theEvent
ShareView: (NSView *) shareView 

Sends remote control action.

Parameters
theEventThe mouse or keyboard event.
shareViewThe view that you want to control remotely.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ startRemoteControl:

- (ZoomSDKError) startRemoteControl: (unsigned int) shareSourceID

Starts remotely controlling the specified user's computer.

Parameters
shareSourceIDThe source ID of user to be controlled remotely.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

◆ stopRemoteControl:

- (ZoomSDKError) stopRemoteControl: (unsigned int) shareSourceID

Stops controlling remotely.

Parameters
shareSourceIDThe source ID of user who is controlled remotely by the current user.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.

Field Documentation

◆ _delegate

- (id<ZoomSDKRemoteControllerDelegate>) _delegate
protected

Definition at line 37 of file ZoomSDKRemoteControllerHelper.h.

Property Documentation

◆ delegate

- (id<ZoomSDKRemoteControllerDelegate>) delegate
readwritenonatomicassign

The delegate to receive remote control status updates.

Definition at line 43 of file ZoomSDKRemoteControllerHelper.h.