Skip to main content

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​

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);