getPeripheralsById

abstract fun getPeripheralsById(ids: List<ID>): List<P>

A list of peripherals that the central manager is able to match to the provided identifiers.

Return

List of peripherals. The list may have a smaller size than the input list.

Parameters

ids

List of peripheral identifiers.

See also

Throws

If the central manager has been closed.

If Bluetooth is disabled or not available.

If any of the identifiers is not valid.