Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKPhoneHelper.h
Go to the documentation of this file.
1
6#import <ZoomSDK/ZoomSDKErrors.h>
7NS_ASSUME_NONNULL_BEGIN
8
13@protocol ZoomSDKPhoneHelperDelegate <NSObject>
19- (void)onInviteCalloutUserStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
20
26- (void)onCallMeStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
27@end
28
29
34@interface ZoomSDKPhoneSupportCountryInfo : NSObject
39- (NSString*)getCountryID;
44- (NSString*)getCountryName;
49- (NSString*)getCountryCode;
50@end
51
52
57@interface ZoomSDKCallInPhoneNumInfo : NSObject
62- (NSString*) getID;
67- (NSString*) getCode;
72- (NSString*) getName;
77- (NSString*) getNumber;
82- (NSString*) getDisplayNumber;
88@end
89
90
95@interface ZoomSDKPhoneHelper : NSObject
96{
97 id<ZoomSDKPhoneHelperDelegate> _delegate;
99}
103@property(nonatomic, assign, nullable)id<ZoomSDKPhoneHelperDelegate> delegate;
108- (BOOL)isSupportPhone;
109
114- (BOOL)isDialoutSupported;
115
120- (NSArray*)getSupportCountryInfo;
121
129- (ZoomSDKError)inviteCalloutUser:(NSString*)userName PhoneNumber:(NSString*)number CountryCode:(NSString*)countryCode;
130
135- (ZoomSDKError)cancelCalloutUser;
136
141- (PhoneStatus)getInviteCalloutUserStatus;
142
149- (ZoomSDKError)callMe:(NSString*)number CountryCode:(NSString*)countryCode;
150
155- (ZoomSDKError)hangUp;
156
161- (PhoneStatus)getCallMeStatus;
162
167- (unsigned int)getCallInParticipantID;
168
173- (NSArray*_Nullable)getCallInNumberInfo;
174
175@end
176NS_ASSUME_NONNULL_END
PhoneStatus
Enumeration of phone call status.
ZoomSDKError
Enumeration of common errors of SDK.
CallInNumberType
Enumeration of the number types for calling to join the audio into a meeting.
PhoneFailedReason
Enumeration of the reasons for the telephone call’s failure.
Represents call-in phone number information.
NSString * getCode()
Get the current call-in number’s country code.
NSString * getName()
Get the current call-in number’s country name.
NSString * getDisplayNumber()
Get the current call-in number’s display number.
CallInNumberType getType()
Get the call-in number’s call type.
NSString * getNumber()
Get the current call-in number’s telephone number.
NSString * getID()
Get the current call-in number’s country ID.
Provides APIs to manage Zoom phone call-in and call-out features.
id< ZoomSDKPhoneHelperDelegate > _delegate
Provides information of countries that support calling out.
NSString * getCountryID()
Get the ID of the country where a user can dial in.
NSString * getCountryCode()
Get the country code.
NSString * getCountryName()
Get the country name.