logout abstract method
Logs out.
After calling this API to logout, it is not possible to call methods or receive callbacks related to out-of-room messages and end-to-server messages.
Return value:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
After this API is successfully called, the local user will receive RTCVideoEventHandler.onLogout.
Implementation
Future<int?> logout();