updateScanFilter

Creates a new Devices instance that sets the currentScanFilter for a DeviceDiscoveryMode.Scanning with a given Filter

Return

the new instance of Devices where currentScanFilter if filtered with filter and cleanup has occurred according to cleanMode

Parameters

cleanMode

the BluetoothService.CleanMode to apply for cleaning the previously found Device