Skip to main content

Account Transfer by Transfer Code [Player Network SDK Only]

[Player Network SDK Only] Transfer the account from another device to the current account using a transfer code.

Supported Platforms

Supports Android, iOS, Windows platform.

Function Definition

void TransferAccount(string transferCode, string password);

Input Parameters

ParametersTypeDescription
transferCodestringTransfer code specifying the account to be transferred
passwordstringThe password set when generating the transfer code

Callback Handling

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

The callback event is LoginBaseResultEvents. The callback ID is GUA_ACCOUNT_TRANSFER_ACCOUNT.

Code Example

UnionAdapterAPI.GetAccountService().TransferAccount("transferCode", "password");