Windows SDK API Reference
Loading...
Searching...
No Matches
zoom_sdk_sms_helper_interface.h
Go to the documentation of this file.
1#ifndef _ZOOM_SDK_SMS_HELPER_INTERFACE_H_
2#define _ZOOM_SDK_SMS_HELPER_INTERFACE_H_
3#include "zoom_sdk_platform.h"
6{
7public:
13 virtual bool Retrieve(const zTCHAR* country_code, const zTCHAR* phone_number) = 0;
14
18 virtual bool CancelAndLeaveMeeting() = 0;
20};
21
24{
25public:
32 virtual bool Verify(const zTCHAR* country_code, const zTCHAR* phone_number, const zTCHAR* verification_code) = 0;
33
37 virtual bool CancelAndLeaveMeeting() = 0;
39};
40
46{
56};
57
60{
61public:
64 virtual const zTCHAR* GetCountryID() = 0;
65
68 virtual const zTCHAR* GetCountryName() = 0;
69
72 virtual const zTCHAR* GetCountryCode() = 0;
74};
77{
78public:
85
91
96};
97
100{
101public:
105 virtual bool SetEvent(IZoomRealNameAuthMeetingEvent* event_) = 0;
106
110 virtual bool EnableZoomAuthRealNameMeetingUIShown(bool enable) = 0;
111
116 virtual bool SetDefaultCellPhoneInfo(const zTCHAR* country_code, const zTCHAR* phone_number) = 0;
117
121
125
130};
131#endif
Interface of country information that supports real name auth.
virtual const zTCHAR * GetCountryName()=0
Get the country name of the current information.
virtual const zTCHAR * GetCountryCode()=0
Get the country code of the current information.
virtual const zTCHAR * GetCountryID()=0
Get the country ID of the current information.
Real name auth meeting callback event.
virtual void onRetrieveSMSVerificationCodeResultNotification(SMSVerificationCodeErr result, IZoomVerifySMSVerificationCodeHandler *handler)=0
The callback event for retrieving SMS verification code.
virtual void onVerifySMSVerificationCodeResultNotification(SMSVerificationCodeErr result)=0
The callback event for verification.
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.
virtual IZoomVerifySMSVerificationCodeHandler * GetReVerifySMSVerificationCodeHandler()=0
Get verify SMS verification code handler interface.
virtual IZoomRetrieveSMSVerificationCodeHandler * GetResendSMSVerificationCodeHandler()=0
Get retrieve SMS verification code handler interface.
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 bool EnableZoomAuthRealNameMeetingUIShown(bool enable)=0
Set the visibility of the dialog box of auth real name when needed. Default value: TRUE.
virtual bool SetEvent(IZoomRealNameAuthMeetingEvent *event_)=0
Set the real name auth meeting helper callback event handler.
virtual IVector< IZoomRealNameAuthCountryInfo * > * GetSupportPhoneNumberCountryList()=0
Get the list of the country information where the meeting supports real name auth.
Retrieve SMS verification code handler interface.
virtual bool Retrieve(const zTCHAR *country_code, const zTCHAR *phone_number)=0
Retrieve the sms verification code.
virtual bool CancelAndLeaveMeeting()=0
Ignore the prompt of retrieving the verification code and leave meeting.
Verify SMS verification code handler interface.
virtual bool CancelAndLeaveMeeting()=0
Ignore the prompt of verifying the verification code and leave meeting.
virtual bool Verify(const zTCHAR *country_code, const zTCHAR *phone_number, const zTCHAR *verification_code)=0
Verify the sms verification code.
#define zTCHAR
SMSVerificationCodeErr
SMS verification error types. Here are more detailed structural descriptions.
@ SMSVerificationCodeErr_Verify_UnknownError
Unknown error for verification.
@ SMSVerificationCodeErr_Verify_CodeExpired
Verification code is expired.
@ SMSVerificationCodeErr_Unknown
For initialization.
@ SMSVerificationCodeErr_Retrieve_SendSMSFailed
Send SMS Failed.
@ SMSVerificationCodeErr_Retrieve_PhoneNumSendTooFrequent
Send phone number too frequently.
@ SMSVerificationCodeErr_Success
Success.
@ SMSVerificationCodeErr_Retrieve_InvalidPhoneNum
Invalid phone number.
@ SMSVerificationCodeErr_Verify_CodeIncorrect
Verification code is incorrect.
@ SMSVerificationCodeErr_Retrieve_PhoneNumAlreadyBound
The phone number is already bound.