Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCSMSService Class Reference

for SMS service usage like following flow. More...

#import <MobileRTCSMSService.h>

Inherits NSObject.

Instance Methods

(void) - enableZoomAuthRealNameMeetingUIShown:
 enable, pass YES for using the auth real name service. the call back function will called when need.(Judged by sdk logic)
 
(MobileRTCRetrieveSMSHandler *_Nullable) - getResendSMSVerificationCodeHandler
 for get new retrieve handle.
 
(MobileRTCVerifySMSHandler *_Nullable) - getReVerifySMSVerificationCodeHandler
 for get new verify handle.
 
(NSArray< MobileRTCRealNameCountryInfo * > *_Nullable) - getSupportPhoneNumberCountryList
 getSupportPhoneNumberCountryList.
 
(BOOL) - setDefaultCellPhoneInfo:phoneNum:
 set default cellphone for signed account.
 

Properties

id< MobileRTCSMSServiceDelegate > _Nullable delegate
 

Detailed Description

for SMS service usage like following flow.

Warning
1.need enable sms service by 'enableZoomAuthRealNameMeetingUIShown'
2.try to join meeting or start meeting. if Real Name verify not pass, will call the callback 'onNeedRealNameAuth: privacyURL: retrieveHandle:'
3.try to send sms with retrieveHandle, or you can use the retrieve handle cancel and leave the meeting, 'cancelAndLeaveMeeting'
4.if success in step 3, pop up the dialog for input the verify code, in the same time, you will receive a sms and a callback 'onRetrieveSMSVerificationCodeResultNotification: verifyHandle:'.
if failed, please try to get retrieve handle 60s later, and go to step 3.
5.you can verify sms by verifyHandle. or you can cancel and leave meeting. 'cancelAndLeaveMeeting'.
6.you will receive callback 'onVerifySMSVerificationCodeResultNotification:' for the verify result.

Definition at line 74 of file MobileRTCSMSService.h.

Method Documentation

◆ enableZoomAuthRealNameMeetingUIShown:

- (void) enableZoomAuthRealNameMeetingUIShown: (bool)  enable

enable, pass YES for using the auth real name service. the call back function will called when need.(Judged by sdk logic)

Warning
enable/disable auth real name service.

◆ getResendSMSVerificationCodeHandler

- (MobileRTCRetrieveSMSHandler *_Nullable) getResendSMSVerificationCodeHandler

for get new retrieve handle.

Warning
need get new handle 60s later.

◆ getReVerifySMSVerificationCodeHandler

- (MobileRTCVerifySMSHandler *_Nullable) getReVerifySMSVerificationCodeHandler

for get new verify handle.

Warning
need get new handle 60s later.

◆ getSupportPhoneNumberCountryList

- (NSArray< MobileRTCRealNameCountryInfo * > *_Nullable) getSupportPhoneNumberCountryList

getSupportPhoneNumberCountryList.

Warning
get country code iist after call join meeting or start meeting interface.

◆ setDefaultCellPhoneInfo:phoneNum:

- (BOOL) setDefaultCellPhoneInfo: (NSString *_Nullable)  countryCode
phoneNum: (NSString *_Nullable)  phoneNum 

set default cellphone for signed account.

Parameters
countryCodethe user account's country code.
phoneNumdefault phoen number.
Returns
yes, for set success.

Property Documentation

◆ delegate

- (id<MobileRTCSMSServiceDelegate> _Nullable) delegate
readwritenonatomicweak

Definition at line 75 of file MobileRTCSMSService.h.