13typedef NS_ENUM(NSInteger, ZoomCCIInterfaceType) {
15 ZoomCCIInterfaceType_Chat,
17 ZoomCCIInterfaceType_Video,
19 ZoomCCIInterfaceType_ZVA,
21 ZoomCCIInterfaceType_ScheduledCallback,
24typedef NS_ENUM(NSInteger, ZoomCCVideoPreviewOption) {
26 ZoomCCVideoPreviewOption_default,
28 ZoomCCVideoPreviewOption_noPreviewWithCameraOn,
30 ZoomCCVideoPreviewOption_noPreviewWithCameraOff
36typedef NS_ENUM(NSInteger, ZoomCCSDKStatus) {
38 ZoomCCSDKStatus_Initial,
40 ZoomCCSDKStatus_Connecting,
42 ZoomCCSDKStatus_Login,
44 ZoomCCSDKStatus_Disconnect
50typedef NS_ENUM(NSInteger, ZoomCCSDKEvent) {
52 ZoomCCSDKEvent_VideoTaskCreated,
54 ZoomCCSDKEvent_VideoJoinButtonClicked,
56 ZoomCCSDKEvent_VideoStart,
58 ZoomCCSDKEvent_VideoLeaveButtonClicked,
60 ZoomCCSDKEvent_VideoEndedForcefully,
62 ZoomCCSDKEvent_VideoEnd,
68typedef NS_ENUM(NSInteger, ZoomCCSDKDomainType) {
70 ZoomCCSDKDomainType_US01,
72 ZoomCCSDKDomainType_EU01,
78typedef void (^ZoomCCFetchUIBlock)(UIViewController * _Nullable viewController);
119@property(nonatomic, copy) NSString *entryId;
124@property(nonatomic, copy) NSString *apiKey;
128@property(nonatomic, assign) ZoomCCIInterfaceType sdkType;
131@protocol ZoomCCChatService, ZoomCCVideoService;
132@protocol ZoomCCService;
137@protocol ZoomCCServiceDelegate <NSObject>
145- (void)onService:(
id<ZoomCCService>)service error:(NSUInteger)error detail:(NSInteger)detail __attribute__((deprecated("This method is deprecated. Use onService:error:detail:description: to replace this")));
154- (void)onService:(
id<ZoomCCService>)service error:(NSUInteger)error detail:(NSInteger)detail description:(NSString *_Nullable)description;
161- (void)onService:(
id<ZoomCCService>)service engagementStart:(NSString*)engagementId;
168- (void)onService:(
id<ZoomCCService>)service engagementEnd:(NSString*)engagementId;
175- (void)onService:(
id<ZoomCCService>)service eventChange:(ZoomCCSDKEvent)event;
182- (void)onService:(
id<ZoomCCService>)service loginStatusChanged:(ZoomCCSDKStatus)status;
188@protocol ZoomCCService <NSObject>
197@property(nonatomic, assign, readonly) ZoomCCSDKStatus status;
202@property(nonatomic, assign, readonly) BOOL inEngagement;
207@property(nullable, nonatomic, copy, readonly) NSString *engagementId;
239- (void)fetchUI:(ZoomCCFetchUIBlock)complete;
245@protocol ZoomCCChatServiceDelegate <ZoomCCServiceDelegate>
252- (void)onChatService:(
id<ZoomCCChatService>)service unreadMsgCountChanged:(NSUInteger)count;
258@protocol ZoomCCChatService <ZoomCCService>
262@property(nullable, nonatomic, weak) id<ZoomCCChatServiceDelegate> chatDelegate;
266@property(nonatomic, assign, readonly) NSUInteger unreadMsgCount;
278@protocol ZoomCCVideoService <ZoomCCService>
283@property(nonatomic, assign) ZoomCCVideoPreviewOption videoPreviewOptions;
288@property(nonatomic, assign) BOOL autoJoinWhenVideoCreated;
293@property(nullable, nonatomic, weak) id<ZoomCCServiceDelegate> videoDelegate;
314- (BOOL)handleRejoinVideoOpenURL:(NSURL *)rejoinURL item:(
ZoomCCItem *)item videoDelegate:(
id<ZoomCCServiceDelegate>)videoDelegate complete:(
void(^)(UIViewController * _Nonnull viewController))complete;
317@protocol ZoomCCScheduledCallbackService <ZoomCCService>
322@property (nonatomic, weak) id<ZoomCCServiceDelegate> scheduledCallbackDelegate;
328- (void)endScheduledCallback;
334@protocol ZoomCCAppLifecyleDelegate <NSObject>
339- (void)appWillResignActive;
345- (void)appDidBecomeActive;
351- (void)appDidEnterBackgroud;
357- (void)appWillTerminate;
382- (id<ZoomCCChatService>)chatService;
388- (id<ZoomCCChatService>)zvaService;
394- (id<ZoomCCVideoService>)videoService;
400- (id<ZoomCCScheduledCallbackService>)scheduledCallbackService;
406- (NSString *)sdkVersion;
Initializes the SDK's context parameters. This class contains configuration information.
Definition ZoomCCInterface.h:85
NSString * deviceShareBundleID
For screen sharing: the bundle ID for broadcast upload extension.
Definition ZoomCCInterface.h:100
NSString * userName
The username to be displayed on the chat or video screen. The length can be between 1 to 34 character...
Definition ZoomCCInterface.h:88
NSString * cacheFolder
A folder used to store temporary files, such as images and logs.
Definition ZoomCCInterface.h:96
BOOL enableLog
Default is NO. When set to YES, the sdk starts local logging.
Definition ZoomCCInterface.h:92
ZoomCCSDKDomainType domainType
Since the backend service has different clusters, when domainType is configured, the SDK requests bac...
Definition ZoomCCInterface.h:108
NSString * appGroupID
For screen sharing: the main app's appGroupID should be same with the broadcast upload extension's ap...
Definition ZoomCCInterface.h:104
ZoomCCSDK API manager. This is the main singleton instance used to create chat and video services,...
Definition ZoomCCInterface.h:364
Used to initialize [ZoomCCService]. Contains engagement information.
Definition ZoomCCInterface.h:116
An interface that handles the life cycle of the application.
Definition ZoomCCInterface.h:334