Skip to main content

Reset Guest Information (ResetGuest)

[Shared by Player Network SDK and MSDK] Reset guest information. When the user logs in again via the guest channel, a new guest account will be generated.

Supported platforms

Supports Android, iOS, Windows platform.
note

MSDK does not currently support Windows

Function Definition

void ResetGuest();

Callback Handling

The callback handling interface is GUABaseResultObservers.The callback data structure is GUABaseResult.

Callback event is LoginBaseResultEvents. Callback ID is GUA_ACCOUNT_RESET_GUEST.

Code Example

UnionAdapterAPI.GetAccountService().ResetGuest();