Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKPremeetingService.h
Go to the documentation of this file.
1
2#import <Foundation/Foundation.h>
3#import <ZoomSDK/ZoomSDKErrors.h>
4
5NS_ASSUME_NONNULL_BEGIN
6@interface ZoomSDKDirectShareHandler: NSObject
11- (ZoomSDKError)inputMeetingNumber:(NSString*)meetingNumber;
16- (ZoomSDKError)inputSharingKey:(NSString*)shareKey;
22@end
23
25
30- (NSArray<NSNumber *>*)getSupportedDirectShareType;
31
39- (ZoomSDKError)tryShareApplication:(CGWindowID)windowID shareSound:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
40
48- (ZoomSDKError)tryShareDesktop:(CGDirectDisplayID)monitorID shareSound:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
49
56- (ZoomSDKError)tryShareFrame:(BOOL)shareSound optimizeVideoClip:(BOOL)optimizeVideoClip;
57
63@end
64
65@protocol ZoomSDKDirectShareHelperDelegate <NSObject>
71- (void)onDirectShareStatusReceived:(DirectShareStatus)status DirectShareReceived:(ZoomSDKDirectShareHandler*_Nullable)handler;
72
77- (void)onDirectShareSpecifyContent:(ZoomSDKDirectShareSpecifyContentHandler*)handler;
78@end
79
80@interface ZoomSDKDirectShareHelper: NSObject
81{
82 id<ZoomSDKDirectShareHelperDelegate> _delegate;
83}
84@property(nonatomic, assign, nullable) id<ZoomSDKDirectShareHelperDelegate> delegate;
89- (ZoomSDKError)canDirectShare;
94- (ZoomSDKError)startDirectShare;
99- (ZoomSDKError)stopDirectShare;
100@end
101
102
103@interface ZoomSDKPremeetingService : NSObject
104{
106}
107
112- (void)enableForceAutoStartMyVideoWhenJoinMeeting:(BOOL)enable;
113
118- (void)enableForceAutoStopMyVideoWhenJoinMeeting:(BOOL)enable;
119
124- (void)disableAutoShowSelectJoinAudioDlgWhenJoinMeeting:(BOOL)disable;
125
130- (BOOL)isUserForceStartMyVideoWhenInMeeting;
131
136- (BOOL)isUserForceStopMyVideoWhenInMeeting;
137
142- (BOOL)isUserForceDisableShowJoinAudioDlgWhenInMeeting;
143
148- (ZoomSDKDirectShareHelper*)getDirectShareHelper;
149
155- (BOOL)isDisabledPMI DEPRECATED_MSG_ATTRIBUTE("No longer used");
156@end
157NS_ASSUME_NONNULL_END
ZoomSDKError
Enumeration of common errors of SDK.
DirectShareStatus
Enumeration of direct sharing status.
ZoomSDKError cancel()
Designated to cancel input action.
id< ZoomSDKDirectShareHelperDelegate > _delegate
ZoomSDKError cancel()
Designated to cancel the action.
NSArray< NSNumber * > * getSupportedDirectShareType()
Designated to get the supported direct share types.
ZoomSDKDirectShareHelper * _directShareHelper