Devices

interface Devices

The Device found during scanning

Inheritors

Properties

Link copied to clipboard

The map of Device found for given Identifier

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun copyAndAddScanned(identifier: Identifier, createDevice: () -> Device): ScanningState.Devices

Creates a new Devices instance that adds an Identifier to the currentScanFilter and creates the corresponding Device if not yet discovered

Link copied to clipboard
abstract fun copyAndSetPaired(devices: Map<Identifier, () -> Device>, filter: Filter, removeForAllPairedFilters: Boolean): ScanningState.Devices

Creates a new Devices instance that sets the paired Device for a given Filter

Link copied to clipboard

The list of Device found for the currentScanFilter

Link copied to clipboard
Link copied to clipboard

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