Skip to main content

QueryRegisterStatus

[MSDK & Player Network SDK] Queries the user registration status.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

void QueryRegisterStatus(string account,  string areaCode,  string extraJson = "{}",  string channel = "Self",  string langType = "en_US");

Input Parameters

ParameterTypeDescription
accountstringAccount, which can be registered with an email address or phone number.
phoneAreaCodestringPhone area code, such as "86" for China. If you register an account with an email address, the field is left empty.
extraJsonstringExtended information
channelstringChannel
Currently not in use, pass ""
langTypestringLanguage type
Currently not in use, pass ""

Callback Processing

The callback processing API is GUAAccountResultObservers. The callback data structure is GUAAccountResult.

The callback event is AccountEvents. The callback methodID is GUA_ACCOUNT_QUERY_REGISTER_STATUS.

Code Sample

UnionAdapterAPI.GetAccountService().QueryRegisterStatus("account", "86");