Callbacks

BootCallback

A callback interface that ChannelIO.boot() notifies its result to.

onComplete

ParameterTypeDescription
bootStatus@NonNull BootStatusA result of boot().
user@Nullable UserAn instance of current user. null if boot has failed.

UserUpdateCallback

A callback interface that is notified when the user information is updated. Usage is the following:

onComplete

ParameterTypeDescription
e@Nullable ExceptionAn exception raised during a user update. null if the update was successful.
user@Nullable UserAn updated user instance. null if the update failed.