Skip to main content

ResetGuest

[Player Network SDK and MSDK] Resets the guest account. A new guest account is generated if the user logs in through the guest channel again.

Supported Platform

Supports Android, iOS, Windows platform.
note

MSDK currently does not support Windows.

Function Definition

void ResetGuest();

Callback Processing

The callback processing API is GUABaseResultObservers. The callback data structure is GUABaseResult.

The callback event is LoginBaseResultEvents. The callback methodID is GUA_ACCOUNT_RESET_GUEST.

Code Sample

UnionAdapterAPI.GetAccountService().ResetGuest();