Mac SDK
ZoomSDKPhoneHelper.h
1 //
2 // ZoomSDKPhoneHelper.h
3 // ZoomSDK
4 //
5 // Created by TOTTI on 5/19/17.
6 // Copyright © 2017 Zoom Video Communications,Inc. All rights reserved.
7 //
8 
9 #import "ZoomSDKErrors.h"
10 
11 @protocol ZoomSDKPhoneHelperDelegate <NSObject>
17 -(void)onInviteCalloutUserStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
18 
24 -(void)onCallMeStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
25 @end
26 
27 @interface ZoomSDKPhoneSupportCountryInfo : NSObject
28 {
29  NSString* _countryID;
30  NSString* _countryName;
31  NSString* _countryCode;
32 }
37 -(NSString*)getCountryID;
42 -(NSString*)getCountryName;
47 -(NSString*)getCountryCode;
48 @end
49 
50 @interface ZoomSDKCallInPhoneNumInfo : NSObject
51 {
52  NSString* _id;
53  NSString* _code;
54  NSString* _name;
55  NSString* _number;
56  NSString* _displayNumber;
57  CallInNumberType _type;
58 }
63 -(NSString*) getID;
68 -(NSString*) getCode;
73 -(NSString*) getName;
78 -(NSString*) getNumber;
83 -(NSString*) getDisplayNumber;
88 -(CallInNumberType) getType;
89 @end
90 
91 @interface ZoomSDKPhoneHelper : NSObject
92 {
93  id<ZoomSDKPhoneHelperDelegate> _delegate;
94  PhoneStatus _callMeStatus;
95 }
96 @property(nonatomic, assign)id<ZoomSDKPhoneHelperDelegate> delegate;
101 -(BOOL)isSupportPhone;
102 
107 -(NSArray*)getSupportCountryInfo;
108 
116 -(ZoomSDKError)inviteCalloutUser:(NSString*)userName PhoneNumber:(NSString*)number CountryCode:(NSString*)countryCode;
117 
122 -(ZoomSDKError)cancelCalloutUser;
123 
128 -(PhoneStatus)getInviteCalloutUserStatus;
129 
136 -(ZoomSDKError)callMe:(NSString*)number CountryCode:(NSString*)countryCode;
137 
142 -(ZoomSDKError)hangUp;
143 
148 -(PhoneStatus)getCallMeStatus;
149 
154 -(unsigned int)getCallInParticipantID;
155 
160 -(NSArray*)getCallInNumberInfo;
161 
162 @end
ZoomSDKPhoneHelper
Definition: ZoomSDKPhoneHelper.h:92
ZoomSDKPhoneHelperDelegate-p
Definition: ZoomSDKPhoneHelper.h:11
ZoomSDKCallInPhoneNumInfo
Definition: ZoomSDKPhoneHelper.h:51
ZoomSDKPhoneSupportCountryInfo
Definition: ZoomSDKPhoneHelper.h:28