Skip to main content

Query Registration Status (QueryRegisterStatus)

AndroidiOSPC

If you are using Unreal Engine, see QueryRegisterStatus in the Unreal Engine SDK.

Query the user's registration status.

Function definition​

public void QueryRegisterStatus(string account, string phoneAreaCode, string extraJson);

Input Parameters​

ParametersTypeExplanation
accountstringThe account allows registration via email address or phone number.
phoneAreaCodestringPhone area code, e.g., "86" for China.If the account is registered with an email address, this 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_REGISTER_STATUS.

Code example​

string account = "";
string phoneAreaCode = "";

INTLAPI.QueryRegisterStatus(account, phoneAreaCode);