pairedDevices
abstract fun pairedDevices(devices: Map<Identifier, () -> ConnectableDevice>, filter: Filter, removeForAllPairedFilters: Boolean): suspend () -> ScanningState.Enabled
Transitions into an Enabled state where a set of devices is paired
Return
a method for transitioning into Enabled with the new list of paired ConnectableDevice
Parameters
devices
the map of Identifier and the method for creating a ConnectableDevice of all devices paired
filter
the Filter applied to finding the paired devices
removeForAllPairedFilters
if true the list of paired devices for all filters will be emptied