logout abstract method

dynamic logout()

Log out of ZIM service.

Available since: 1.1.0 or above. Description: Log out of the ZIM service. Use cases: This function must be called from the instance after it has been created by calling create. When to call: After invoking logout, you can no longer use ZIM's chat, room, send and receive, and other functions. To use the ZIM service again, the developer must call login to login again. Caution: Upon logout, the developer will receive the onConnectionStateChanged callback with the login state being Disconnected.

Implementation

logout();