refresh

abstract fun refresh(filter: Filter = devices.currentScanFilter.filter, cleanMode: BluetoothService.CleanMode = BluetoothService.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 BluetoothService.CleanMode to apply to previously scanned Device.