Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKPhoneHelper.h
Go to the documentation of this file.
1
5
6
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
104
110
119- (ZMVideoSDKErrors)inviteByPhone:(NSString*)countryCode phoneNumber:(NSString*)phoneNumber name:(NSString*)name DEPRECATED_MSG_ATTRIBUTE("Use -invitePhoneUser: instead");
120
126- (ZMVideoSDKErrors)invitePhoneUser:(ZMVideoSDKInvitePhoneUserInfo *)inviteInfo;
132
138
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 current's country code 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 current's country ID information.
NSString * number
The country number.
NSString * countryName
The current's country name information.
Represents the information used when inviting a user to join the session via phone.
NSString * phoneNumber
The phone number of specified user.
NSString * countryCode
The specified's country code user must be in the support list.
BOOL bPressOne
YES if need press number one to agree to join the session, NO otherwise.
BOOL bGreeting
YES if joining the session, play a greeting prompt tone. NO Otherwise.
NSString * name
The specified's screen name user in the session.
Provides methods for managing phone-related session features such as dial-in and phone invites.
NSArray< ZMVideoSDKPhoneSupportCountryInfo * > *_Nullable getSupportCountryInfo()
Gets the country information list where the session supports to join by telephone.
BOOL isSupportPhoneFeature()
Determines if the session supports join by phone or not.
ZMPhoneStatus getInviteByPhoneStatus()
Gets the phone invitation's status.
ZMVideoSDKErrors cancelInviteByPhone()
Cancels the invitation that is being called out by phone.
NSArray< ZMVideoSDKDialInNumberInfo * > *_Nullable getSessionDialInNumbers()
Gets the dial in number list supported by session.
Contains information about a country where phone features are supported.
NSString * countryID
The current's country ID information.
NSString * countryName
The current's country name information.
NSString * countryCode
The current's country code information.