startScanning
abstract fun startScanning(filter: Filter = emptySet(), cleanMode: BluetoothService.CleanMode = CleanMode.REMOVE_ALL, connectionSettings: ConnectionSettings? = null)
Starts scanning for Device. To receive the devices, use scannedDevices or allDevices
Parameters
cleanMode
the CleanMode to apply to previously scanned Device. CleanMode.ONLY_PROVIDED_FILTER will apply to filter
connectionSettings
the ConnectionSettings to apply to scanned Device. If null
the default will be used Note that if a Device was previously scanned (and not cleaned by cleanMode) the old ConnectionSettings will still apply.