Skip to main content

Unbind (解绑)

AndroidiOSWindows
If you are using the Unity engine, see Unity SDK Unbind.
caution

It is not recommended to directly unbind login channels in the game client.To prevent players from transferring accounts through unbinding or re-binding, we suggest handling re-binding through customer service.

Unbind the login channel for the Player Network account.Once the channel unbinding is successful, you will not be able to log into the same Player Network account via the unbound channel.Next time you use this unbound channel to log in, a new Player Network SDK OpenID will be generated.Please note that the current login channel cannot be unbound.LI PASS does not support unbinding.

note

The currently logged in channel cannot be unbound.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool Unbind(
const EINTLLoginChannel Channel,
const FString Uid = "",
const FString ExtraJson = "{}");

Parameter Explanation

NameTypeExplanation
ChannelFStringFor the channels to be unbound, refer to EINTLLoginChannel.
UidFStringAccount ID for unbinding channel (optional)
ExtraJsonFStringOptional, extended field

Callback Handling

The callback handling interface is AuthBaseResultObserver.
The callback data structure is BaseResult.

The callback ID is kMethodIDAuthUnbind.

Code Example

UINTLSDKAPI::Unbind(EINTLLoginChannel::kChannelFacebook); // Unbind Facebook channel