initialized
abstract fun initialized(hasPermission: Boolean, enabled: Boolean): suspend () -> ScanningState.Initialized
Transitions into an Initialized State
Return
method for transitioning into an Initialized State
Parameters
hasPermission
if true
all permissions related to Bluetooth have been granted
enabled
if true
the Bluetooth service is enabled