Skip to main content

Generate Transfer Code [Player Network SDK Only]

[Player Network SDK Only] Generate a transfer code for the logged-in account.

Supported Platforms

Supports Android, iOS, Windows platform.

Function Definition

void GenerateTransferCode(string password);

Input Parameters

ParametersTypeDescription
passwordstringPassword for generating the transfer code

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_RED_TRANSFER_CODE.

Code Example

UnionAdapterAPI.GetAccountService().GenerateTransferCode("password");