Mac SDK
ZoomSDKNetworkService.h
1 //
2 // ZoomSDKNetworkService.h
3 // ZoomSDK
4 //
5 // Created by TOTTI on 2/28/17.
6 // Copyright © 2017 Zoom Video Communications,Inc. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 @interface ZoomSDKProxySettings : NSObject
12 
16 @property(nonatomic,copy)NSString *proxy;
17 
21 @property(nonatomic,assign)BOOL autoDetct;
22 
23 @end
24 
25 @interface ZoomSDKProxySettingHelper : NSObject
26 {
27  NSString* _proxyHost;
28  int _proxyPort;
29  NSString* _proxyDescription;
30 }
35 - (NSString*)getProxyHost;
40 - (int)getProxyPort;
45 - (NSString*)getProxyDescription;
51 - (void)proxyAuth:(NSString*)userName password:(NSString*)password;
55 - (void)cancel;
56 @end
57 
58 @interface ZoomSDKSSLVerificationHelper :NSObject
59 {
60  NSString* _certIssueTo;
61  NSString* _certIssueBy;
62  NSString* _certSerialNum;
63  NSString* _certFingerprint;
64 }
69 - (NSString*)getCertIssueTo;
74 - (NSString*)getCertIssueBy;
79 - (NSString*)getCertSerialNum;
84 - (NSString*)getCertFingerprint;
88 - (void)trust;
92 - (void)cancel;
93 
94 @end
95 
96 @protocol ZoomSDKNetworkSeviceDelegate <NSObject>
101 - (void)onProxySettingNotification:(ZoomSDKProxySettingHelper*)proxyHelper;
102 
108 - (void)onSSLCertVerifyNotification:(ZoomSDKSSLVerificationHelper*)sslHelper;
109 
110 @end
111 
112 @interface ZoomSDKNetworkService : NSObject
113 {
114  id<ZoomSDKNetworkSeviceDelegate> _delegate;
115 }
116 @property(nonatomic, retain) id<ZoomSDKNetworkSeviceDelegate> delegate;
117 
123 - (ZoomSDKError)ConfigureProxy:(ZoomSDKProxySettings*)settings;
124 
125 @end
ZoomSDKProxySettingHelper
Definition: ZoomSDKNetworkService.h:26
ZoomSDKSSLVerificationHelper
Definition: ZoomSDKNetworkService.h:59
ZoomSDKProxySettings::proxy
NSString * proxy
Set the network proxy.
Definition: ZoomSDKNetworkService.h:16
ZoomSDKNetworkService
Definition: ZoomSDKNetworkService.h:113
ZoomSDKNetworkSeviceDelegate-p
Definition: ZoomSDKNetworkService.h:96
ZoomSDKProxySettings::autoDetct
BOOL autoDetct
Set the network autoDetect.
Definition: ZoomSDKNetworkService.h:21
ZoomSDKProxySettings
Definition: ZoomSDKNetworkService.h:12