Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKNetworkService.h
Go to the documentation of this file.
1
2
3#import <Foundation/Foundation.h>
4NS_ASSUME_NONNULL_BEGIN
5@interface ZoomSDKProxySettings : NSObject
6
10@property(nonatomic,copy,nullable)NSString *proxy;
11
15@property(nonatomic,assign)BOOL autoDetct;
16
17@end
18
19@interface ZoomSDKProxySettingHelper : NSObject
20{
21 NSString* _proxyHost;
24}
29- (NSString*)getProxyHost;
34- (int)getProxyPort;
39- (NSString*)getProxyDescription;
45- (void)proxyAuth:(NSString*)userName password:(NSString*)password;
49- (void)cancel;
50@end
51
52@interface ZoomSDKSSLVerificationHelper :NSObject
57- (NSString*)getCertIssueTo;
62- (NSString*)getCertIssueBy;
67- (NSString*)getCertSerialNum;
72- (NSString*)getCertFingerprint;
76- (void)trust;
80- (void)cancel;
81
82@end
83
84@protocol ZoomSDKNetworkServiceDelegate <NSObject>
89- (void)onProxySettingNotification:(ZoomSDKProxySettingHelper*_Nullable)proxyHelper;
90
96- (void)onSSLCertVerifyNotification:(ZoomSDKSSLVerificationHelper*_Nullable)sslHelper;
97
98@end
99
100@interface ZoomSDKNetworkService : NSObject
101{
102 id<ZoomSDKNetworkServiceDelegate> _delegate;
103}
104@property(nonatomic, retain, nullable) id<ZoomSDKNetworkServiceDelegate> delegate;
105
111- (ZoomSDKError)ConfigureProxy:(ZoomSDKProxySettings*)settings;
112
113@end
114NS_ASSUME_NONNULL_END
ZoomSDKError
Enumeration of common errors of SDK.
id< ZoomSDKNetworkServiceDelegate > _delegate
BOOL autoDetct
Set the network autoDetect.
NSString * proxy
Set the network proxy.