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;
42@property (nonatomic, assign, readonly) BOOL isDedicateID;
43@end
44
45
54@property (nonatomic, copy, readonly) NSString* countryID;
58@property (nonatomic, copy, readonly) NSString* countryName;
62@property (nonatomic, copy, readonly) NSString* countryCode;
63@end
64
65
70@interface ZMVideoSDKInvitePhoneUserInfo : NSObject
74@property (nonatomic, copy, nullable) NSString* countryCode;
78@property (nonatomic, copy, nullable) NSString* phoneNumber;
82@property (nonatomic, copy, nullable) NSString* name;
86@property (nonatomic, assign) BOOL bPressOne;
90@property (nonatomic, assign) BOOL bGreeting;
91@end
92
93
98@interface ZMVideoSDKPhoneHelper : NSObject
103- (BOOL)isSupportPhoneFeature;
104
109- (NSArray<ZMVideoSDKPhoneSupportCountryInfo*>* _Nullable)getSupportCountryInfo;
110
119- (ZMVideoSDKErrors)inviteByPhone:(NSString*)countryCode phoneNumber:(NSString*)phoneNumber name:(NSString*)name DEPRECATED_MSG_ATTRIBUTE("Use -invitePhoneUser: instead");
120
126- (ZMVideoSDKErrors)invitePhoneUser:(ZMVideoSDKInvitePhoneUserInfo *)inviteInfo;
131- (ZMVideoSDKErrors)cancelInviteByPhone;
132
137- (ZMPhoneStatus)getInviteByPhoneStatus;
138
143- (NSArray<ZMVideoSDKDialInNumberInfo *>* _Nullable)getSessionDialInNumbers;
144@end
145
146NS_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.
BOOL isDedicateID
Is the dial number an account dedicated number.
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.