LogoutCallBack

interface LogoutCallBack : STWCallback<T>

IAccountCallback

Description :

This callback is used in STWAccountManager when doing the login

Example of use :

  • Implementation :
    
    LogoutCallBack mLogoutCallBack = new LogoutCallBack() {
    public void onStart() {
    
    }
    
    public void onFinish() {
    
    }
    
    public void onError() {
    
    }
    }
    
  • Register :
    
            STWAccountManager.getInstance().logout(context,informAdmin, mLogoutCallBack);
            

Functions

Link copied to clipboard
abstract fun onFinish()
The logout process has been finished
Link copied to clipboard
abstract fun onStart()
The logout process has been started

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.