Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKPhoneHelper Class Reference

Provides methods for managing phone-related session features such as dial-in and phone invites. More...

#include <ZoomVideoSDKPhoneHelper.h>

Inherits NSObject.

Instance Methods

(BOOL) - isSupportPhoneFeature
 Determines whether the session supports join by phone.
 
(NSArray< ZoomVideoSDKPhoneSupportCountryInfo * > *_Nullable) - getSupportCountryInfo
 Gets the list of country information where the session supports join by telephone.
 
(ZoomVideoSDKError- inviteByPhone:phoneNumber:name:
 Invites the specified user to join the session by call out.
 
(ZoomVideoSDKError- invitePhoneUser:
 Invites the specified user to join the session by call out.
 
(ZoomVideoSDKError- cancelInviteByPhone
 Cancels the invitation that is being called out by phone.
 
(ZoomVideoSDKPhoneStatus- getInviteByPhoneStatus
 Gets the status of the invitation by phone.
 
(NSArray< ZoomVideoSDKDialInNumberInfo * > *_Nullable) - getSessionDialInNumbers
 Gets the video SDK dial in number information list.
 

Detailed Description

Provides methods for managing phone-related session features such as dial-in and phone invites.

Definition at line 100 of file ZoomVideoSDKPhoneHelper.h.

Method Documentation

◆ cancelInviteByPhone

- (ZoomVideoSDKError) cancelInviteByPhone

Cancels the invitation that is being called out by phone.

Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.

◆ getInviteByPhoneStatus

- (ZoomVideoSDKPhoneStatus) getInviteByPhoneStatus

Gets the status of the invitation by phone.

Returns
If the function succeeds, the method returns the ZoomVideoSDKPhoneStatus of the invitation by phone.

◆ getSessionDialInNumbers

- (NSArray< ZoomVideoSDKDialInNumberInfo * > *_Nullable) getSessionDialInNumbers

Gets the video SDK dial in number information list.

Returns
If the function succeeds, it returns an NSArray of ZoomVideoSDKDialInNumberInfo objects. Otherwise, this function fails and returns nil.

◆ getSupportCountryInfo

- (NSArray< ZoomVideoSDKPhoneSupportCountryInfo * > *_Nullable) getSupportCountryInfo

Gets the list of country information where the session supports join by telephone.

Returns
If the function succeeds, it returns an NSArray of ZoomVideoSDKPhoneSupportCountryInfo objects. Otherwise, this function fails and returns nil.

◆ inviteByPhone:phoneNumber:name:

- (ZoomVideoSDKError) inviteByPhone: (NSString *_Nonnull) countryCode
phoneNumber: (NSString *_Nonnull) phoneNumber
name: (NSString *_Nonnull) name 

Invites the specified user to join the session by call out.

Parameters
countryCodeThe country code of the specified user. Must be in the support list.
phoneNumberThe phone number of the specified user.
nameThe screen name of the specified user in the session.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Deprecated
Use invitePhoneUser: instead.

◆ invitePhoneUser:

- (ZoomVideoSDKError) invitePhoneUser: (ZoomVideoSDKInvitePhoneUserInfo *_Nullable) inviteInfo

Invites the specified user to join the session by call out.

Parameters
inviteInfoThe invite action information.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.

◆ isSupportPhoneFeature

- (BOOL) isSupportPhoneFeature

Determines whether the session supports join by phone.

Returns
YES if the session supports join by phone. Otherwise, NO.