退出登录
接口功能
该接口用于退出已登录的华为云会议账号。注意事项:1、请在已登录的场景下调用。
函数原型
logout(onLogoutResult?: (ret: SDKERR, reason: string, logoutResult: LogoutResult) => void): void
请求参数
参数名称 | 是否必选 | 参数类型 | 参数说明 |
---|---|---|---|
onLogoutResult | Y | (ret: SDKERR, reason: string, logoutResult: LogoutResult) => void | 登出回调 |
返回值
void
回调方法参数说明:
(ret: SDKERR, reason: string, logoutResult: LogoutResult) => void
参数名称 | 参数类型 | 参数说明 |
---|---|---|
ret | SDKERR 请参考错误码参考 | 错误码 |
reason | string | 错误描述 |
logoutResult | LogoutResult | 登出结果信息 |
参数名称 | 参数类型 | 参数说明 |
---|---|---|
userUuid | string | UUID(由系统分配的真实的唯一用户标识) |
account | string | 账号 |
thirdAccount | string | 第三方账号 |