onError

abstract fun onError(@NotNull t: @NotNull Throwable)

Called when the mode change attempt has failed.

Parameters

t

The mode change failure reason.