Unregister Method
This method cancels an account with the host.
Syntax
public fun unregister()
Remarks
If the user or application wishes to terminate an account with the IMServer it should make a call to this method. After a successful call, the account will be canceled and the component will be logged off the server, but not disconnected.