Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKPhoneHelper.h
Go to the documentation of this file.
1
2
3#import <ZoomSDK/ZoomSDKErrors.h>
4NS_ASSUME_NONNULL_BEGIN
5@protocol ZoomSDKPhoneHelperDelegate <NSObject>
11- (void)onInviteCalloutUserStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
12
18- (void)onCallMeStatus:(PhoneStatus)status FailedReason:(PhoneFailedReason)reason;
19@end
20
21@interface ZoomSDKPhoneSupportCountryInfo : NSObject
26- (NSString*)getCountryID;
31- (NSString*)getCountryName;
36- (NSString*)getCountryCode;
37@end
38
39@interface ZoomSDKCallInPhoneNumInfo : NSObject
44- (NSString*) getID;
49- (NSString*) getCode;
54- (NSString*) getName;
59- (NSString*) getNumber;
64- (NSString*) getDisplayNumber;
70@end
71
72@interface ZoomSDKPhoneHelper : NSObject
73{
74 id<ZoomSDKPhoneHelperDelegate> _delegate;
76}
77@property(nonatomic, assign, nullable)id<ZoomSDKPhoneHelperDelegate> delegate;
82- (BOOL)isSupportPhone;
83
88- (BOOL)isDialoutSupported;
89
94- (NSArray*)getSupportCountryInfo;
95
103- (ZoomSDKError)inviteCalloutUser:(NSString*)userName PhoneNumber:(NSString*)number CountryCode:(NSString*)countryCode;
104
109- (ZoomSDKError)cancelCalloutUser;
110
115- (PhoneStatus)getInviteCalloutUserStatus;
116
123- (ZoomSDKError)callMe:(NSString*)number CountryCode:(NSString*)countryCode;
124
129- (ZoomSDKError)hangUp;
130
135- (PhoneStatus)getCallMeStatus;
136
141- (unsigned int)getCallInParticipantID;
142
147- (NSArray*_Nullable)getCallInNumberInfo;
148
149@end
150NS_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.
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.
id< ZoomSDKPhoneHelperDelegate > _delegate
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.