Query Verification Code Status
AndroidiOSWindows
If you're using Unreal Engine, see the QueryVerifyCodeStatus for Unreal Engine SDK.
If you're using Unreal Engine, see the QueryVerifyCodeStatus for Unreal Engine SDK.
Query the status of the verification code.
Function Definition
public void QueryVerifyCodeStatus(string account, string verifyCode, VerifyCodeType codeType, string phoneAreaCode, string extraJson="{}");
Input Parameters
| Parameters | Type | Explanation |
|---|---|---|
| account | String | Account, can be registered using email or phone number. |
| verifyCode | String | Verification code |
| codeType | VerifyCodeType | Type of verification code requested |
| phoneAreaCode | String | Phone area code, e.g., "86" for China.If the account is registered with an email address, the field is empty. |
| extraJson | String | Additional information |
Callback processing
The callback processing interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback ID is INTL_AUTH_QUERY_VERIFY_CODE_STATUS.
Code example
string account = "";
string verifyCode = "";
VerifyCodeType codeType = VerifyCodeType.Register;
string phoneAreaCode = "";
INTLAPI.QueryVerifyCodeStatus(account, verifyCode, codeType, phoneAreaCode);