retrievePairedDevices

abstract suspend fun retrievePairedDevices(withServices: Filter, removeForAllPairedFilters: Boolean, connectionSettings: ConnectionSettings?)

Retrieves the list of paired Device This will result in Event.PairedDevicesRetrieved on the events flow

Parameters

withServices

filters the list to only return the Device that at least one Service matching one of the provided UUID

removeForAllPairedFilters

if true the list of paired devices for all filters will be emptied

connectionSettings

the ConnectionSettings to apply to the paired devices found. If null the default will be used