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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software