refresh
abstract fun refresh(filter: Filter = devices.currentScanFilter.filter, cleanMode: BluetoothClient.CleanMode = BluetoothClient.CleanMode.REMOVE_ALL): suspend () -> ScanningState.Enabled.Idle
Transitions into an Idle State with a new Filter
Return
the method for transitioning into a new Idle state
Parameters
filter
the new Filter to apply
cleanMode
the BluetoothClient.CleanMode to apply to previously scanned ConnectableDevice.