Skip to main content

Query Register Status (QueryRegisterStatus)

[MSDK & Player Network SDK] Query the user's registration status.

Supported platforms

Supports Android, iOS, Windows platform.

Function Definition

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

Input Parameters

ParametersTypeDescription
accountstringAccount can be registered with email and phone number
phoneAreaCodestringPhone area code example "86" for China, leave empty if the account is an email.
extraJsonstringExtended information
channelstringChannel
Currently not used by Player Network SDK, can be set to ""
langTypestringLanguage type
Currently not used by Player Network SDK, can be ""

Callback Handling

The callback handling interface is GUAAccountResultObservers.The callback data structure is GUAAccountResult.

The callback event is AccountEvents. The callback ID is GUA_ACCOUNT_QUERY_REGISTER_STATUS.

Code Example

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