Skip to main content

Query Verification Code Status

AndroidiOSWindows
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

ParametersTypeExplanation
accountStringAccount, can be registered using email or phone number.
verifyCodeStringVerification code
codeTypeVerifyCodeTypeType of verification code requested
phoneAreaCodeStringPhone area code, e.g., "86" for China.If the account is registered with an email address, the field is empty.
extraJsonStringAdditional 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);