Instance Method

retrievePeripherals(withIdentifiers:)

Returns a list of known peripherals by their identifiers.

Declaration

func retrievePeripherals(withIdentifiers identifiers: [UUID]) -> [CBPeripheral]

Parameters

identifiers

A list of peripheral identifiers (represented by NSUUID objects) from which CBPeripheral objects can be retrieved.

Return Value

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

See Also

Retrieving Lists of Peripherals

func retrieveConnectedPeripherals(withServices: [CBUUID]) -> [CBPeripheral]

Returns a list of the peripherals (containing any of the specified services) currently connected to the system.