Query Verification Code Status
AndroidiOSPC
If you are using Unreal Engine, see QueryVerifyCodeStatus in the 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);