stopScanning

abstract fun stopScanning(cleanMode: BluetoothClient.CleanMode = BluetoothClient.CleanMode.REMOVE_ALL): suspend () -> ScanningState.Enabled.Idle

Transitions into an Idle State

Parameters

cleanMode

the BluetoothClient.CleanMode to apply to previously scanned ConnectableDevice.