startScanning
abstract fun startScanning(filter: Filter = devices.currentScanFilter.filter, cleanMode: BluetoothClient.CleanMode = BluetoothClient.CleanMode.REMOVE_ALL, connectionSettings: ConnectionSettings? = null): suspend () -> ScanningState.Enabled.Scanning
Transitions into a Scanning State for a given filter
Return
the method for transitioning into a Scanning state
Parameters
filter
the Filter to apply for scanning
cleanMode
the BluetoothClient.CleanMode to apply to previously scanned ConnectableDevice.
connectionSettings
the ConnectionSettings to apply to any ConnectableDevice scanned that was not previously discovered. If null the default will be used