onAdapterStateChanged

open fun onAdapterStateChanged(isEnabled: Boolean)

Called when the device adapter turned on/off

Parameters

isEnabled

true if the adapter was enabled, otherwise false