Updated on 2024-07-30 GMT+08:00

Logout

Function

This API is used to log out of Huawei Cloud Meeting. Call this API only after login.

Function Prototype

logout(onLogoutResult?: (ret: SDKERR, reason: string, logoutResult: LogoutResult) => void): voidlogout(onLogoutResult?: (ret: SDKERR, reason: string, logoutResult: LogoutResult) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onLogoutResult Yes (ret: SDKERR, reason: string, logoutResult: LogoutResult) => void Logout callback.

Return Values

void

Callback Method Parameters

(ret: SDKERR, reason: string, logoutResult: LogoutResult) => void

Table 2 Input parameter description
Parameter Type Description
ret For details about SDKERR, see Error Code Reference. Error code.
reason string Error description.
logoutResult LogoutResult Logout result.
Table 3 LogoutResult
Parameter Type Description
userUuid string UUID, which is the unique user ID allocated by the system.
account string Account.
thirdAccount string Third-party account.