stopScanning

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

Transitions into an Idle State

Parameters

cleanMode

the BluetoothService.CleanMode to apply to previously scanned Device.