Mac SDK
ZoomSDK.h
1 //
2 // ZoomSDK.h
3 // ZoomSDK
4 //
5 // Created by TOTTI on 7/18/16.
6 // Copyright (c) 2016 Zoom Video Communications, Inc. All rights reserved.
7 //
8 
9 #import <Cocoa/Cocoa.h>
10 
11 //ZOOM SDK Errors
12 #import "ZoomSDKErrors.h"
13 
14 //ZOOM SDK Authentication Service
15 #import "ZoomSDKAuthService.h"
16 
17 //ZOOM SDK Meeting Service
18 #import "ZoomSDKMeetingService.h"
19 
20 //ZOOM SDK Setting Service
21 #import "ZoomSDKSettingService.h"
22 
23 //ZOOM SDK Pre-meeting Service
24 #import "ZoomSDKPremeetingService.h"
25 
26 //ZOOM SDK Network Service
27 #import "ZoomSDKNetworkService.h"
28 
29 //ZOOM SDK Custom Video UI
30 #import "ZoomSDKVideoContainer.h"
31 
32 //ZOOM SDK Custom Share UI
33 #import "ZoomSDKShareContainer.h"
34 #import "ZoomSDKRawDataVideoSourceController.h"
35 #import "ZoomSDKRawDataController.h"
43 typedef enum
44 {
45  ZoomSDKLocale_Def = 0,
46  ZoomSDKLocale_CN = 1,
47 }ZoomSDKLocale;
48 
49 @interface ZoomSDKInitParams : NSObject
50 {
51  BOOL _needCustomizedUI;
52  //Set whether to enable default log of which the capacity is less than 5M.
53  BOOL _enableLog;
54  //The size of the log file, the unit is MB. The size of log file is between 1 to 50M.
55  int _logFileSize;
56  //Set the locale of the App.
57  ZoomSDKLocale _appLocale;
58  //Set the team identifier of certificate, zoom will verify the certificate when loading.
59  NSString* _teamIdentifier;
60  //Set the language of the App, usually if user does not specify the language, it will follow up the systematical language.
61  NSString* _preferedLanguage;
62  //Set custom localizable string file name.
63  NSString* _customLocalizationFileName;
64 }
65 @property (assign, nonatomic) BOOL needCustomizedUI;
66 @property (assign, nonatomic) BOOL enableLog;
67 @property (assign, nonatomic) int logFileSize;
68 @property (assign, nonatomic) ZoomSDKLocale appLocale;
69 @property (retain, nonatomic) NSString *teamIdentifier;
70 @property (retain, nonatomic) NSString *preferedLanguage;
71 @property (retain, nonatomic) NSString *customLocalizationFileName;
76 - (NSArray*)getLanguageArray;
77 @end
78 
79 
80 @interface ZoomSDK : NSObject
81 {
82  NSString *_zoomDomain;
83  ZoomSDKMeetingService *_meetingService;
84  ZoomSDKAuthService *_authService;
85  ZoomSDKSettingService *_settingService;
86  ZoomSDKPremeetingService *_premeetingService;
87  ZoomSDKNetworkService *_networkService;
88  //BOOL _needCustomizedUI;
89  ZoomSDKRawDataMemoryMode _videoRawDataMode;
90  ZoomSDKRawDataMemoryMode _shareRawDataMode;
91  ZoomSDKRawDataMemoryMode _audioRawDataMode;
92 }
93 
94 @property (retain, nonatomic) NSString *zoomDomain;
95 //@property (assign, nonatomic) BOOL needCustomizedUI;
96 @property (assign, nonatomic) BOOL enableRawdataIntermediateMode;
97 @property (assign, nonatomic) ZoomSDKRawDataMemoryMode videoRawDataMode;
98 @property (assign, nonatomic) ZoomSDKRawDataMemoryMode shareRawDataMode;
99 @property (assign, nonatomic) ZoomSDKRawDataMemoryMode audioRawDataMode;
105 + (ZoomSDK*)sharedSDK;
106 
111 - (void)initSDK:(BOOL)customizedFlag NS_DEPRECATED_MAC(4.0, 5.2);
112 - (ZoomSDKError)initSDKWithParams:(ZoomSDKInitParams*)initParams NS_AVAILABLE_MAC(5.2);
118 - (void)setZoomDomain:(NSString*)domain;
124 - (ZoomSDKAuthService*)getAuthService;
125 
130 - (ZoomSDKMeetingService*)getMeetingService;
131 
136 - (ZoomSDKSettingService*)getSettingService;
137 
142 - (ZoomSDKPremeetingService*)getPremeetingService;
143 
148 - (ZoomSDKNetworkService*)getNetworkService;
149 
154 - (ZoomSDKRawDataController*)getRawDataController;
155 
160 - (NSString*)getSDKVersionNumber;
161 
166 - (NSArray*)getLanguageArray NS_DEPRECATED_MAC(4.0, 5.2);
167 
174 - (ZoomSDKError)setPreferLanguage:(NSString *)preferLanguage NS_DEPRECATED_MAC(4.0, 5.2);
175 
182 - (void)enableDefaultLog:(BOOL)enable NS_DEPRECATED_MAC(4.1, 4.3);
183 - (void)enableDefaultLog:(BOOL)enable fileSize:(unsigned int)size NS_DEPRECATED_MAC(4.4, 5.2);
184 
189 - (void)setCustomLocalizationFileName:(NSString*)fileName NS_DEPRECATED_MAC(4.0, 5.2);
190 
196 - (void)setAppLocale:(ZoomSDKLocale)locale NS_DEPRECATED_MAC(4.0, 5.2);
197 
203 - (ZoomSDKError)switchDomain:(NSString*)newDomain force:(BOOL)force;
204 
211 - (ZoomSDKError)setSupportDarkModel:(BOOL)isSupport;
212 
218 - (void)setTeamIdentifier:(NSString*)identifier NS_DEPRECATED_MAC(4.0, 5.2);
219 
220 @end
221 
222 
ZoomSDK
Definition: ZoomSDK.h:81
ZoomSDKNetworkService
Definition: ZoomSDKNetworkService.h:113
ZoomSDKRawDataController
Definition: ZoomSDKRawDataController.h:83
ZoomSDKInitParams
Definition: ZoomSDK.h:50
ZoomSDKPremeetingService
Definition: ZoomSDKPremeetingService.h:524
ZoomSDKAuthService
Callback event of ZOOM SDK authorization. Authorize Zoom SDK and the custom application with the key/...
Definition: ZoomSDKAuthService.h:45
ZoomSDKMeetingService
It is an implementation for client to start/join a Meeting.
Definition: ZoomSDKMeetingService.h:246
ZoomSDKSettingService
Definition: ZoomSDKSettingService.h:1318