登出(Logout)
登出当前渠道。
函数定义
public static void Logout(string channel = "", bool channelOnly = false);
入参说明
| 参数 | 类型 | 说明 | 备注 |
|---|---|---|---|
| channel | string | 需要登出的渠道 请查看 INTLChannel。 | 选填 |
| channelOnly | bool | 仅登出渠道 | -- |
回调处理
回调处理接口是 AuthBaseResultObserver。回调数据结构是 BaseResult。
回调 ID 是 INTL_AUTH_LOGOUT。
代码示例
INTLAPI.Logout();