Android Conversation: Logout (APAC)

Successfully log out the currently-active user in Android

You can logout the user from Brand Messenger by using the method below:

BrandMessengerManager.logout(MainActivity.this, new KBMLogoutHandler() {
    @Override
    public void onSuccess(Context context) {
    }

    @Override
    public void onFailure(Exception exception) {
    }
});
BrandMessengerManager.logout(context, object: KBMLogoutHandler {
    override fun onSuccess(context: Context?) {
    }

    override fun onFailure(exception: Exception?) {
    }
})

Did this page help you?