跳到主要内容

登出(Logout)

AndroidiOSWindows
如果您使用的是 Unity 引擎,请参见 Unity SDK 的 Logout。

登出当前渠道。

函数定义​

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool Logout(const EINTLLoginChannel Channel, const bool ChannelOnly = false);

入参说明​

参数类型说明备注
渠道FString需要登出的渠道
请查看 EINTLLoginChannel。
选填
ChannelOnlybool仅登出渠道--

回调处理​

回调处理接口是 AuthBaseResultObserver。回调数据结构是 BaseResult。

回调 ID 是 kMethodIDAuthLogout。

代码示例​

UINTLSDKAPI::Logout();