1 #ifndef _ZOOM_SDK_SMS_HELPER_INTERFACE_H_ 2 #define _ZOOM_SDK_SMS_HELPER_INTERFACE_H_ 3 #include "zoom_sdk_platform.h" 13 virtual bool Retrieve(
const zTCHAR* country_code,
const zTCHAR* phone_number) = 0;
32 virtual bool Verify(
const zTCHAR* country_code,
const zTCHAR* phone_number,
const zTCHAR* verification_code) = 0;
45 enum SMSVerificationCodeErr
47 SMSVerificationCodeErr_Unknown,
48 SMSVerificationCodeErr_Success,
49 SMSVerificationCodeErr_Retrieve_SendSMSFailed,
50 SMSVerificationCodeErr_Retrieve_InvalidPhoneNum,
51 SMSVerificationCodeErr_Retrieve_PhoneNumAlreadyBound,
52 SMSVerificationCodeErr_Retrieve_PhoneNumSendTooFrequent,
53 SMSVerificationCodeErr_Verify_CodeIncorrect,
54 SMSVerificationCodeErr_Verify_CodeExpired,
55 SMSVerificationCodeErr_Verify_UnknownError,
virtual IVector< IZoomRealNameAuthCountryInfo *> * GetSupportPhoneNumberCountryList()=0
Get the list of the country information where the meeting supports real name auth.
virtual bool SetDefaultCellPhoneInfo(const zTCHAR *country_code, const zTCHAR *phone_number)=0
Set default cellphone information to let the user bypass the real name auth to start/join meeting dir...
virtual IZoomVerifySMSVerificationCodeHandler * GetReVerifySMSVerificationCodeHandler()=0
Get verify SMS verification code handler interface.
virtual const zTCHAR * GetCountryCode()=0
Get the country code of the current information.
virtual const zTCHAR * GetCountryName()=0
Get the country name of the current information.
virtual void onRetrieveSMSVerificationCodeResultNotification(SMSVerificationCodeErr result, IZoomVerifySMSVerificationCodeHandler *handler)=0
The callback event for retrieving SMS verification code.
Interface of country information that supports real name auth.
Definition: zoom_sdk_sms_helper_interface.h:59
Definition: zoom_sdk_platform.h:32
virtual bool Verify(const zTCHAR *country_code, const zTCHAR *phone_number, const zTCHAR *verification_code)=0
Verify the sms verification code.
virtual const zTCHAR * GetCountryID()=0
Get the country ID of the current information.
virtual void onVerifySMSVerificationCodeResultNotification(SMSVerificationCodeErr result)=0
The callback event for verification.
virtual bool Retrieve(const zTCHAR *country_code, const zTCHAR *phone_number)=0
Retrieve the sms verification code.
Verify SMS verification code handler interface.
Definition: zoom_sdk_sms_helper_interface.h:23
virtual void onNeedRealNameAuthMeetingNotification(IVector< IZoomRealNameAuthCountryInfo * > *support_country_list, const zTCHAR *privacy_url, IZoomRetrieveSMSVerificationCodeHandler *handler)=0
If real name auth is needed, this callback will be triggered.
Real name auth meeting helper Interface.
Definition: zoom_sdk_sms_helper_interface.h:99
virtual IZoomRetrieveSMSVerificationCodeHandler * GetResendSMSVerificationCodeHandler()=0
Get retrieve SMS verification code handler interface.
virtual bool CancelAndLeaveMeeting()=0
Ignore the prompt of verifying the verification code and leave meeting.
virtual bool SetEvent(IZoomRealNameAuthMeetingEvent *event_)=0
Set the real name auth meeting helper callback event handler.
virtual bool CancelAndLeaveMeeting()=0
Ignore the prompt of retrieving the verification code and leave meeting.
virtual bool EnableZoomAuthRealNameMeetingUIShown(bool enable)=0
Set the visibility of the dialog box of auth real name when needed. Default value: TRUE...
Real name auth meeting callback event.
Definition: zoom_sdk_sms_helper_interface.h:76
Retrieve SMS verification code handler interface.
Definition: zoom_sdk_sms_helper_interface.h:5