verifyBluetoothAdapterState

@RequiresPermission(value = "android.permission.BLUETOOTH_ADMIN")
suspend fun verifyBluetoothAdapterState(): Boolean

Checks if the bluetooth adapter is active

If not, automatically requests it's activation to the user

Return

True when the bluetooth adapter is active

See also

For a variation using callbacks