Skip to main content

GenerateTransferCode [Player Network SDK Only]

[Player Network SDK Only] Generates transfer code for the logged in account.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

void GenerateTransferCode(string password);

Input Parameters

ParameterTypeDescription
passwordstringThe password when generating the transfer code

Callback Processing

The callback processing API is GUALoginResultObservers. The callback data structure is GUALoginResult.

The callback event is LoginResultEvents. The callback methodID is GUA_ACCOUNT_GENERATE_TRANSFER_CODE.

Code Sample

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