setBluetoothTurnoff

abstract suspend fun setBluetoothTurnoff(bluetoothTurnOff: BluetoothTurnOff, updateProgress: suspend (progress: Progress) -> Unit = {})

Set bluetooth turn off timeout.

Parameters

bluetoothTurnOff

Bluetooth turn off configuration. Can be always on or turned off after some time.

updateProgress

Progress of the operation