Skip to main content

Login Using Mapped Channel (LoginWithMappedChannel) [Player Network SDK Only]

[Player Network SDK Only] Log in using a mapped channel.

Supported platforms

Supports Windows platform.

Function Definition

void LoginWithMappedChannel(string channel,  string permission,  string extraJson);

Input Parameters

ParametersTypeDescription
channelstringRequired login channel
permissionstringList of Authorization Permissions for Login, separated by commas for multiple permissions.
extraJsonstringExtended Fields
For more information, please refer to the corresponding channel documentation.

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

Code example

UnionAdapterAPI.GetAccountService().LoginWithMappedChannel("Epic");