macOS SDK API Reference
Loading...
Searching...
No Matches
ZoomSDKNetworkService.h
Go to the documentation of this file.
1
2
3#import <Foundation/Foundation.h>
4
5@interface ZoomSDKProxySettings : NSObject
6
10@property(nonatomic,copy)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 ZoomSDKNetworkSeviceDelegate <NSObject>
89- (void)onProxySettingNotification:(ZoomSDKProxySettingHelper*)proxyHelper;
90
96- (void)onSSLCertVerifyNotification:(ZoomSDKSSLVerificationHelper*)sslHelper;
97
98@end
99
100@interface ZoomSDKNetworkService : NSObject
101{
102 id<ZoomSDKNetworkSeviceDelegate> _delegate;
103}
104@property(nonatomic, retain) id<ZoomSDKNetworkSeviceDelegate> delegate;
105
111- (ZoomSDKError)ConfigureProxy:(ZoomSDKProxySettings*)settings;
112
113@end
ZoomSDKError
Enumeration of common errors of SDK.
id< ZoomSDKNetworkSeviceDelegate > _delegate
BOOL autoDetct
Set the network autoDetect.
NSString * proxy
Set the network proxy.