STWDisconnectCallBack

interface STWDisconnectCallBack : STWCallback<T>

Description :

This callback is used in STWAccountManager when doing the local user disconnect

Example of use :

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

Functions

Link copied to clipboard
abstract fun onFinish()
Called when the user local disconnect operation has been finished
Link copied to clipboard
abstract fun onStart()
Called when the user local disconnect operation 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.