logout
open fun logout( @NonNull context: Context, informAdmin: Boolean, @Nullable callBack: LogoutCallBack)
Content copied to clipboard
This method is used to logout the current account.
Note :Your data and prefs will be lost.
Parameters
context
The application context
inform Admin
boolean: If true the backend will be informed by the logout, otherwise it will be a local action
call Back
LogoutCallBack:A callback used to listen to the logout process