Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKPhoneHelper.h
Go to the documentation of this file.
1
7#import <Foundation/Foundation.h>
8
9NS_ASSUME_NONNULL_BEGIN
14@interface ZMVideoSDKDialInNumberInfo : NSObject
18@property (nonatomic, copy, readonly) NSString* countryID;
22@property (nonatomic, copy, readonly) NSString* countryCode;
26@property (nonatomic, copy, readonly) NSString* countryName;
30@property (nonatomic, copy, readonly) NSString* number;
34@property (nonatomic, copy, readonly) NSString* displayNumber;
38@property (nonatomic, assign, readonly) ZMVideoSDKDialInNumType type;
39@end
40
41
50@property (nonatomic, copy, readonly) NSString* countryID;
54@property (nonatomic, copy, readonly) NSString* countryName;
58@property (nonatomic, copy, readonly) NSString* countryCode;
59@end
60
61
66@interface ZMVideoSDKInvitePhoneUserInfo : NSObject
70@property (nonatomic, copy, nullable) NSString* countryCode;
74@property (nonatomic, copy, nullable) NSString* phoneNumber;
78@property (nonatomic, copy, nullable) NSString* name;
82@property (nonatomic, assign) BOOL bPressOne;
86@property (nonatomic, assign) BOOL bGreeting;
87@end
88
89
94@interface ZMVideoSDKPhoneHelper : NSObject
99- (BOOL)isSupportPhoneFeature;
100
105- (NSArray<ZMVideoSDKPhoneSupportCountryInfo*>* _Nullable)getSupportCountryInfo;
106
115- (ZMVideoSDKErrors)inviteByPhone:(NSString*)countryCode phoneNumber:(NSString*)phoneNumber name:(NSString*)name DEPRECATED_MSG_ATTRIBUTE("Use -invitePhoneUser: instead");
116
122- (ZMVideoSDKErrors)invitePhoneUser:(ZMVideoSDKInvitePhoneUserInfo *)inviteInfo;
127- (ZMVideoSDKErrors)cancelInviteByPhone;
128
133- (ZMPhoneStatus)getInviteByPhoneStatus;
134
139- (NSArray<ZMVideoSDKDialInNumberInfo *>* _Nullable)getSessionDialInNumbers;
140@end
141
142NS_ASSUME_NONNULL_END
ZMVideoSDKErrors
Enumerates all errors in the VideoSDK.
ZMPhoneStatus
Enumerates the statuses of a phone call.
ZMVideoSDKDialInNumType
Enumeration of the number types for calling to join the audio into a meeting.
Represents dial-in number information for a specific country.
NSString * countryCode
The country code of the current information.
NSString * displayNumber
The display number.
ZMVideoSDKDialInNumType type
The type of dial in number.
NSString * countryID
The country ID of the current information.
NSString * number
The country number.
NSString * countryName
The country name of the current information.
Represents the information used when inviting a user to join the session via phone.
Provides methods for managing phone-related session features such as dial-in and phone invites.
Contains information about a country where phone features are supported.