Skip to main content

Retrieve local login state data

[Player Network SDK and MSDK shared] Retrieve local login state data.

Supported platforms

Supports Android, iOS, Windows platform.

Function Definition

GUALoginResult GetAccountResult();

Return Value

This interface will return GUALoginResult.

Input Parameters

No input parameters.

Callback Handling

The callback handling interface is GUALoginResultObservers.The callback data structure is GUALoginResult.

The callback event is LoginResultEvents. The callback ID is GUA_ACCOUNT_GET_LOGIN_RESULT.

Code Example

GUALoginResult ret = UnionAdapterAPI.GetAccountService().GetAccountResult();