Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKMeetingService.h
Go to the documentation of this file.
1
2#import <Foundation/Foundation.h>
3#import <ZoomSDK/ZoomSDKErrors.h>
4#import <ZoomSDK/ZoomSDKH323Helper.h>
5#import <ZoomSDK/ZoomSDKPhoneHelper.h>
6#import <ZoomSDK/ZoomSDKWaitingRoomController.h>
7#import <ZoomSDK/ZoomSDKMeetingUIController.h>
8#import <ZoomSDK/ZoomSDKMeetingConfiguration.h>
9#import <ZoomSDK/ZoomSDKASController.h>
10#import <ZoomSDK/ZoomSDKMeetingActionController.h>
11#import <ZoomSDK/ZoomSDKLiveStreamHelper.h>
12#import <ZoomSDK/ZoomSDKVideoContainer.h>
13#import <ZoomSDK/ZoomSDKMeetingRecordController.h>
14#import <ZoomSDK/ZoomSDKWebinarController.h>
15#import <ZoomSDK/ZoomSDKCloseCaptionController.h>
16#import <ZoomSDK/ZoomSDKRealNameAuthenticationController.h>
17#import <ZoomSDK/ZoomSDKQAController.h>
18#import <ZoomSDK/ZoomSDKNewBreakoutRoomController.h>
19#import <ZoomSDK/ZoomSDKInterpretationController.h>
20#import <ZoomSDK/ZoomSDKReactionController.h>
21#import <ZoomSDK/ZoomSDKAppSignalController.h>
22#import <ZoomSDK/ZoomSDKRawArchivingController.h>
23#import <ZoomSDK/ZoomSDKSignInterpretationController.h>
24#import <ZoomSDK/ZoomSDKCustomImmersiveController.h>
25#import <ZoomSDK/ZoomSDKMeetingChatController.h>
26#import <ZoomSDK/ZoomSDKMeetingWhiteboardController.h>
27#import <ZoomSDK/ZoomSDKMeetingEncryptionController.h>
28#import <ZoomSDK/ZoomSDKPollingController.h>
29#import <ZoomSDK/ZoomSDKMeetingRemoteSupportController.h>
30#import <ZoomSDK/ZoomSDKMeetingAICompanionController.h>
31#import <ZoomSDK/ZoomSDKCameraControlHelper.h>
32#import <ZoomSDK/ZoomSDKMeetingIndicatorController.h>
33#import <ZoomSDK/ZoomSDKMeetingProductionStudioController.h>
34#import <ZoomSDK/ZoomSDKMeetingDocsController.h>
35
36NS_ASSUME_NONNULL_BEGIN
37@interface ZoomSDKMeetingParameter : NSObject
41@property (assign,nonatomic) MeetingType meetingType;
45@property (assign,nonatomic) BOOL isViewOnly;
49@property (assign,nonatomic) BOOL isAutoRecordingLocal;
53@property (assign,nonatomic) BOOL isAutoRecordingCloud;
57@property (assign,nonatomic) long long meetingNumber;
61@property (copy,nonatomic, nullable) NSString *meetingTopic;
65@property (copy,nonatomic, nullable) NSString *meetingHost;
66@end
67
68@interface ZoomSDKStartMeetingElements : NSObject
72@property(nonatomic, copy, nullable)NSString* vanityID;
76@property(nonatomic, assign)ZoomSDKUserType userType;
80@property(nonatomic, assign)long long meetingNumber;
84@property(nonatomic, assign)BOOL isDirectShare;
88@property(nonatomic, assign)CGDirectDisplayID displayID;
92@property(nonatomic, assign)BOOL isNoVideo;
96@property(nonatomic, assign)BOOL isNoAudio;
100@property(nonatomic, copy, nullable)NSString* customerKey;
104@property(nonatomic, assign)BOOL isMyVoiceInMix;
108@property(nonatomic, copy, nullable)NSString *inviteContactID;
112@property(nonatomic, assign)BOOL isAudioRawDataStereo;
116@property(nonatomic, assign)ZoomSDKAudioRawdataSamplingRate audioRawdataSamplingRate;
117@end
118
123@property(nonatomic, copy, nullable)NSString* zak;
127@property(nonatomic, copy, nullable)NSString* displayName;
131@property(nonatomic, copy, nullable)NSString* vanityID;
135@property(nonatomic, assign)SDKUserType userType;
139@property(nonatomic, assign)long long meetingNumber;
143@property(nonatomic, assign)BOOL isDirectShare;
147@property(nonatomic, assign)CGDirectDisplayID displayID;
151@property(nonatomic, assign)BOOL isNoVideo;
155@property(nonatomic, assign)BOOL isNoAudio;
159@property(nonatomic, copy, nullable)NSString* customerKey;
163@property(nonatomic, assign)BOOL isMyVoiceInMix;
167@property(nonatomic, copy, nullable)NSString *inviteContactID;
171@property(nonatomic, assign)BOOL isAudioRawDataStereo;
175@property(nonatomic, assign)ZoomSDKAudioRawdataSamplingRate audioRawdataSamplingRate;
176@end
177
178@interface ZoomSDKJoinMeetingElements : NSObject
182@property(nonatomic, copy, nullable)NSString* zak;
186@property(nonatomic, copy, nullable)NSString* webinarToken;
190@property(nonatomic, copy, nullable)NSString* displayName;
194@property(nonatomic, copy, nullable)NSString* vanityID;
198@property(nonatomic, assign)ZoomSDKUserType userType;
202@property(nonatomic, copy, nullable)NSString* customerKey;
206@property(nonatomic, assign)long long meetingNumber;
210@property(nonatomic, assign)BOOL isDirectShare;
214@property(nonatomic, assign)CGDirectDisplayID displayID;
218@property(nonatomic, assign)BOOL isNoVideo;
222@property(nonatomic, assign)BOOL isNoAudio;
226@property(nonatomic, copy, nullable)NSString *password;
230@property(nonatomic, copy, nullable)NSString *appPrivilegeToken;
234@property(nonatomic, copy, nullable)NSString *join_token;
238@property(nonatomic, assign)BOOL isMyVoiceInMix;
242@property(nonatomic, assign)BOOL isAudioRawDataStereo;
246@property(nonatomic, assign)ZoomSDKAudioRawdataSamplingRate audioRawdataSamplingRate;
250@property(nonatomic, copy, nullable)NSString* onBehalfToken;
251@end
252
254
258@property(nonatomic, copy, readonly, nullable)NSString *defaultDisplayName;
259
263@property(nonatomic, assign, readonly)BOOL canModifyDefaultDisplayName;
264
271- (BOOL)isValidEmail:(NSString *)email;
272
279- (ZoomSDKError)inputUserInfo:(NSString *)name email:(NSString *)email;
280
284- (void)cancel;
285@end
286
294@property(nonatomic, copy, readonly, nullable)NSString* archiveConfirmContent;
295
301- (ZoomSDKError)joinWithArchive:(BOOL)startArchive;
302@end
303
307@interface ZoomSDKRecoverMeetingHandler : NSObject
311@property(nonatomic, copy, readonly, nullable)NSString* recoverMeetingContent;
312
318- (ZoomSDKError)recoverMeeting:(BOOL)toRecover;
319@end
320
321@protocol ZoomSDKMeetingServiceDelegate <NSObject>
322
323@optional
324
331- (void)onMeetingStatusChange:(ZoomSDKMeetingStatus)state meetingError:(ZoomSDKMeetingError)error EndReason:(EndMeetingReason)reason;
332
337- (void)onMeetingStatisticWarning:(StatisticWarningType)type;
338
344- (void)onFreeMeetingNeedToUpgrade:(FreeMeetingNeedUpgradeType)type giftUpgradeURL:(NSString*_Nullable)giftURL;
345
349- (void)onFreeMeetingUpgradeToGiftFreeTrialStart;
350
354- (void)onFreeMeetingUpgradeToGiftFreeTrialStop;
355
359- (void)onFreeMeetingUpgradedToProMeeting;
360
364- (void)onFreeMeetingRemainTimeStopCountDown;
365
370- (void)onFreeMeetingRemainTime:(unsigned int)seconds;
375- (void)onMeetingParameterNotification:(ZoomSDKMeetingParameter *_Nullable)meetingParameter;
376
381- (void)onJoinMeetingNeedUserInfo:(ZoomSDKMeetingInputUserInfoHandler *_Nullable)handler;
382
387- (void)onUserConfirmToStartArchive:(ZoomSDKMeetingArchiveConfirmHandler *_Nullable)handler;
388
394- (void)onEndOtherMeetingToJoinMeetingNotification:(ZoomSDKError (^)(void))actionEndOtherMeeting actionCancel:(void (^)(void))actionCancel;
395
401- (void)onMeetingFullToWatchLiveStream:(NSString*)liveStreamUrl;
402
407- (void)onUserConfirmRecoverMeeting:(ZoomSDKRecoverMeetingHandler * _Nullable)handler;
408@end
409
414@interface ZoomSDKMeetingService : NSObject
415{
416 id<ZoomSDKMeetingServiceDelegate> _delegate;
425 //customized UI
448}
452@property (assign, nonatomic, nullable) id<ZoomSDKMeetingServiceDelegate> delegate;
453
458- (ZoomSDKMeetingUIController*)getMeetingUIController;
459
464- (ZoomSDKMeetingConfiguration*)getMeetingConfiguration;
465
470- (ZoomSDKH323Helper*_Nullable)getH323Helper;
471
476- (ZoomSDKWaitingRoomController*)getWaitingRoomController;
477
482- (ZoomSDKASController*)getASController;
483
488- (ZoomSDKPhoneHelper*)getPhoneHelper;
489
494- (ZoomSDKMeetingActionController*)getMeetingActionController;
495
500- (ZoomSDKLiveStreamHelper*)getLiveStreamHelper;
501
506- (ZoomSDKVideoContainer*_Nullable)getVideoContainer;
507
512- (ZoomSDKMeetingRecordController*)getRecordController;
517- (ZoomSDKWebinarController*)getWebinarController;
518
523- (ZoomSDKCloseCaptionController*)getCloseCaptionController;
524
529- (ZoomSDKRealNameAuthenticationController *)getRealNameController;
530
535- (ZoomSDKQAController *)getQAController;
536
541- (ZoomSDKNewBreakoutRoomController *)getNewBreakoutRoomController;
542
547- (ZoomSDKInterpretationController*)getInterpretationController;
548
553- (ZoomSDKSignInterpretationController*)getSignInterpretationController;
558- (ZoomSDKReactionController*)getReactionController;
559
564- (ZoomSDKAppSignalController*_Nullable)getAppSignalController;
565
570- (ZoomSDKRawArchivingController*)getRawArchivingController;
571
572
577- (ZoomSDKCustomImmersiveController*_Nullable)getMeetingImmersiveController;
578
583- (ZoomSDKMeetingWhiteboardController*)getMeetingWhiteboardController;
588- (ZoomSDKMeetingChatController*)getMeetingChatController;
589
594- (ZoomSDKMeetingEncryptionController*)getInMeetingEncryptionController;
595
600- (ZoomSDKMeetingRemoteSupportController*)getMeetingRemoteSupportController;
601
606- (NSString*)getInMeetingDataCenterInfo;
607
612- (ZoomSDKPollingController*)getMeetingPollingController;
613
618- (ZoomSDKMeetingAICompanionController*)getInMeetingAICompanionController;
619
625- (ZoomSDKCameraControlHelper*_Nullable)getCameraControlHelper:(unsigned int)userId;
626
631- (ZoomSDKMeetingProductionStudioController*)getMeetingProductionStudioController;
632
637- (ZoomSDKError)revokeCameraControlPrivilege;
638
643- (ZoomSDKMeetingIndicatorController*_Nullable)getMeetingIndicatorController;
644
649- (ZoomSDKMeetingDocsController*_Nullable)getMeetingDocsController;
650
656- (ZoomSDKError)startMeeting:(ZoomSDKStartMeetingElements *)context;
663- (ZoomSDKError)startMeetingWithZAK:(ZoomSDKStartMeetingUseZakElements *)context;
670- (ZoomSDKError)joinMeeting:(ZoomSDKJoinMeetingElements *)context;
675- (void)leaveMeetingWithCmd:(LeaveMeetingCmd)cmd;
676
681- (ZoomSDKMeetingStatus)getMeetingStatus;
682
688- (NSString*_Nullable)getMeetingProperty:(MeetingPropertyCmd)command;
689
694- (int)getSupportedMeetingAudioType;
695
702- (ZoomSDKConnectionQuality)getConnectionQuality:(ConnectionComponent)component Sending:(BOOL)sending;
707- (MeetingType)getMeetingType;
708
714- (BOOL)isFailoverMeeting;
715
721- (ZoomSDKError)handleZoomWebUrlAction:(NSString*)urlAction;
722
728- (CGSize)getUserVideoSize:(unsigned int)userID;
729@end
730NS_ASSUME_NONNULL_END
731
732
733
734
StatisticWarningType
Enumeration of warning types.
MeetingPropertyCmd
Get default information of meeting.
SDKUserType
Enumerates the types of users.
FreeMeetingNeedUpgradeType
Enumeration indicating reasons why a free meeting needs an upgrade.
MeetingType
Enumeration of meeting types.
ZoomSDKAudioRawdataSamplingRate
Enumeration representing the sampling rate of acquired raw audio data.
ConnectionComponent
Enumeration of component types.
ZoomSDKError
Enumeration of common errors of SDK.
LeaveMeetingCmd
An enumeration of commands for leaving meeting.
ZoomSDKUserType
An enumeration of user types.
ZoomSDKMeetingError
Enumeration of errors to start/join meeting.
EndMeetingReason
Enumeration of ending meeting errors.
ZoomSDKMeetingStatus
Enumeration of meeting status.
ZoomSDKConnectionQuality
Enumeration of connection quality.
ZOOM share controller.
Meeting immersive controller interface. For more details on this feature, see https://support....
The interface for the user to confirm whether start archiving after joining the meeting.
NSString * meetingTopic
meetingTopic topic of the meeting.
NSString * meetingHost
meetingHost host of the meeting.
long long meetingNumber
meetingNumber unique number of the meeting.
MeetingType meetingType
meetingType type of the meeting.
BOOL isAutoRecordingLocal
isAutoRecordingLocal Auto local recording or not. YES indicates to auto local recording.
BOOL isViewOnly
isViewOnly YES indicates to view only meeting,otherwise not.
BOOL isAutoRecordingCloud
isAutoRecordingCloud Auto cloud recording or not. YES indicates to auto cloud recording.
It is an implementation for client to start/join a Meeting.
ZoomSDKMeetingConfiguration * _meetingConfiguration
ZoomSDKH323Helper * _h323Helper
ZoomSDKWebinarController * _webinarController
ZoomSDKRawArchivingController * _rawArchivingController
ZoomSDKCustomImmersiveController * _customImmersiveController
ZoomSDKReactionController * _reactionController
ZoomSDKMeetingWhiteboardController * _whiteboardController
ZoomSDKNewBreakoutRoomController * _newBOController
ZoomSDKAppSignalController * _appSignalController
id< ZoomSDKMeetingServiceDelegate > _delegate
ZoomSDKMeetingRemoteSupportController * _remoteSupportController
ZoomSDKPhoneHelper * _phoneHelper
ZoomSDKPollingController * _pollingController
ZoomSDKInterpretationController * _InterpretationController
ZoomSDKWaitingRoomController * _waitingRoomController
ZoomSDKVideoContainer * _videoContainer
ZoomSDKMeetingRecordController * _recordController
ZoomSDKMeetingProductionStudioController * _productionStudioController
ZoomSDKMeetingIndicatorController * _meetingIndicatorController
ZoomSDKMeetingDocsController * _meetingDocsController
ZoomSDKLiveStreamHelper * _liveStreamHelper
ZoomSDKMeetingChatController * _chatController
ZoomSDKCloseCaptionController * _closeCaptionController
ZoomSDKMeetingAICompanionController * _AICompanionController
ZoomSDKRealNameAuthenticationController * _realNameController
ZoomSDKMeetingUIController * _meetingUIController
ZoomSDKSignInterpretationController * _signInterpretationController
ZoomSDKMeetingEncryptionController * _encryptionController
ZoomSDKASController * _asController
ZoomSDKMeetingActionController * _actionController
ZoomSDKQAController * _QAController
Polling controller interface.
The interface for host user to handle recover meeting or not when start a deleted or expired meeting.
Webinar controller interface.