logout

fun logout(callback: IAdvizeSDK.Callback? = null): Job

Logout the user from the SDK. This hides the chat button & disables push notifications. Once this call succeeds, the iAdvize Conversation SDK is deactivated and you will need to call activate again if the user needs to start a new conversation.

Parameters

callback

Completion handler called when the logout process is done.