跳到主要内容

登出(Logout)

AndroidiOSWindows
如果您使用的是 Unreal Engine,请参见 Unreal Engine SDK 的 Logout。

登出当前渠道。

函数定义​

public static void Logout(string channel = "", bool channelOnly = false);

入参说明​

参数类型说明备注
channelstring需要登出的渠道
请查看 INTLChannel。
选填
channelOnlybool仅登出渠道--

回调处理​

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

回调 ID 是 INTL_AUTH_LOGOUT。

代码示例​

INTLAPI.Logout();