Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKPremeetingService.h
Go to the documentation of this file.
1
7#import <Foundation/Foundation.h>
8#import <ZoomSDK/ZoomSDKErrors.h>
9
10NS_ASSUME_NONNULL_BEGIN
11
16@interface ZoomSDKDirectShareHandler: NSObject
21- (ZoomSDKError)inputMeetingNumber:(NSString*)meetingNumber;
26- (ZoomSDKError)inputSharingKey:(NSString*)shareKey;
32@end
33
34
40
45- (NSArray<NSNumber *>*)getSupportedDirectShareType;
46
54- (ZoomSDKError)tryShareApplication:(CGWindowID)windowID shareSound:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
55
63- (ZoomSDKError)tryShareDesktop:(CGDirectDisplayID)monitorID shareSound:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
64
71- (ZoomSDKError)tryShareFrame:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
72
78@end
79
80
85@protocol ZoomSDKDirectShareHelperDelegate <NSObject>
91- (void)onDirectShareStatusReceived:(DirectShareStatus)status DirectShareReceived:(ZoomSDKDirectShareHandler*_Nullable)handler;
92
97- (void)onDirectShareSpecifyContent:(ZoomSDKDirectShareSpecifyContentHandler*)handler;
98@end
99
100
105@interface ZoomSDKDirectShareHelper: NSObject
106{
107 id<ZoomSDKDirectShareHelperDelegate> _delegate;
108}
112@property(nonatomic, assign, nullable) id<ZoomSDKDirectShareHelperDelegate> delegate;
117- (ZoomSDKError)canDirectShare;
122- (ZoomSDKError)startDirectShare;
127- (ZoomSDKError)stopDirectShare;
128@end
129
130
131
136@interface ZoomSDKPremeetingService : NSObject
137{
139}
140
145- (void)enableForceAutoStartMyVideoWhenJoinMeeting:(BOOL)enable;
146
151- (void)enableForceAutoStopMyVideoWhenJoinMeeting:(BOOL)enable;
152
157- (void)disableAutoShowSelectJoinAudioDlgWhenJoinMeeting:(BOOL)disable;
158
163- (BOOL)isUserForceStartMyVideoWhenInMeeting;
164
169- (BOOL)isUserForceStopMyVideoWhenInMeeting;
170
175- (BOOL)isUserForceDisableShowJoinAudioDlgWhenInMeeting;
176
181- (ZoomSDKDirectShareHelper*)getDirectShareHelper;
182
188- (BOOL)isDisabledPMI DEPRECATED_MSG_ATTRIBUTE("No longer used");
189@end
190NS_ASSUME_NONNULL_END
ZoomSDKError
Enumeration of common errors of SDK.
DirectShareStatus
Enumeration of direct sharing status.
Handle input meeting number or sharing key for direct share.
ZoomSDKError cancel()
Designated to cancel input action.
Helper class to manage direct share via ultrasonic proximity signal.
id< ZoomSDKDirectShareHelperDelegate > _delegate
Handle specify content sharing in direct share for custom ui.
ZoomSDKError cancel()
Designated to cancel the action.
NSArray< NSNumber * > * getSupportedDirectShareType()
Designated to get the supported direct share types.
Service class for pre-meeting settings and direct share helper.
ZoomSDKDirectShareHelper * _directShareHelper