Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKRemoteControllerHelper.h
Go to the documentation of this file.
1
5
6#import <Foundation/Foundation.h>
7#import <ZoomSDK/ZoomSDKErrors.h>
8NS_ASSUME_NONNULL_BEGIN
9
14@protocol ZoomSDKRemoteControllerDelegate <NSObject>
21- (void)onRemoteControlStatus:(ZoomSDKRemoteControlStatus)status User:(unsigned int)userID shareSourceID:(unsigned int)shareSourceID;
22
27- (void)onUserRemoteControlForbidden:(unsigned int)userId;
28@end
29
30
35@interface ZoomSDKRemoteControllerHelper : NSObject
36{
37 id<ZoomSDKRemoteControllerDelegate> _delegate;
38
39}
43@property(nonatomic, assign, nullable) id<ZoomSDKRemoteControllerDelegate> delegate;
50- (ZoomSDKError)canRequestRemoteControl:(unsigned int)shareSourceID;
51
57- (ZoomSDKError)haveRemoteControlPrivilege:(unsigned int)shareSourceID;
58
64- (ZoomSDKError)isInRemoteControlling:(unsigned int)shareSourceID;
65
71- (ZoomSDKError)startRemoteControl:(unsigned int)shareSourceID;
72
78- (ZoomSDKError)stopRemoteControl:(unsigned int)shareSourceID;
79
85- (ZoomSDKError)requestRemoteControl:(unsigned int)shareSourceID;
86
92- (ZoomSDKError)giveUpRemoteControl:(unsigned int)shareSourceID;
93
99- (ZoomSDKError)giveRemoteControlPrivilegeTo:(unsigned int)userid;
100
106- (ZoomSDKError)declineRemoteControlRequest:(unsigned int)userid;
107
113
119- (ZoomSDKError)getCurrentRemoteController:(unsigned int*)userid;
120
127- (ZoomSDKError)sendRemoteControlEvent:(NSEvent *)theEvent ShareView:(NSView*)shareView;
128
134
140
147- (ZoomSDKError)enableAutoAcceptRemoteControlFeature:(BOOL)enable;
148@end
149NS_ASSUME_NONNULL_END
ZoomSDKRemoteControlStatus
Enumeration of status of remote control.
ZoomSDKError
Enumeration of common errors of SDK.
Helper class to manage remote control operations in Zoom meeting.
ZoomSDKError canEnableAutoAcceptRemoteControlFeature()
Whether the current user can enable the auto accept remote control requests feature.
ZoomSDKError revokeRemoteControl()
Gets back the authority of remote control.
id< ZoomSDKRemoteControllerDelegate > delegate
The delegate to receive remote control status updates.
id< ZoomSDKRemoteControllerDelegate > _delegate
BOOL IsAutoAcceptRemoteControlFeatureEnabled()
Determines if the auto accept remote control requests feature is enabled in the meeting.