ZOOM Windows SDK  5.2.42037.1112
zoom_sdk_sms_helper_interface.h
1 #ifndef _ZOOM_SDK_SMS_HELPER_INTERFACE_H_
2 #define _ZOOM_SDK_SMS_HELPER_INTERFACE_H_
3 #include "zoom_sdk_platform.h"
6 {
7 public:
13  virtual bool Retrieve(const zTCHAR* country_code, const zTCHAR* phone_number) = 0;
14 
18  virtual bool CancelAndLeaveMeeting() = 0;
20 };
21 
24 {
25 public:
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 
45 enum SMSVerificationCodeErr
46 {
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,
56 };
57 
60 {
61 public:
64  virtual const zTCHAR* GetCountryID() = 0;
65 
68  virtual const zTCHAR* GetCountryName() = 0;
69 
72  virtual const zTCHAR* GetCountryCode() = 0;
73  virtual ~IZoomRealNameAuthCountryInfo() {}
74 };
77 {
78 public:
84  virtual void onNeedRealNameAuthMeetingNotification(IVector<IZoomRealNameAuthCountryInfo* >* support_country_list, const zTCHAR* privacy_url, IZoomRetrieveSMSVerificationCodeHandler* handler) = 0;
85 
90  virtual void onRetrieveSMSVerificationCodeResultNotification(SMSVerificationCodeErr result, IZoomVerifySMSVerificationCodeHandler* handler) = 0;
91 
94  virtual void onVerifySMSVerificationCodeResultNotification(SMSVerificationCodeErr result) = 0;
95  virtual ~IZoomRealNameAuthMeetingEvent() {}
96 };
97 
100 {
101 public:
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 
129  virtual ~IZoomRealNameAuthMeetingHelper() {}
130 };
131 #endif
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