Contents

init(services:queue:)

Creates a central manager that supports communicating with Bluetooth peripherals.

Declaration

init(services: [CBUUID]?, queue: DispatchQueue = .main)

Parameters

  • services:

    An array of service identifiers that the central manager scans for. If nil, all peripherals in range are eligible for connection attempts.

  • queue:

    The dispatch queue used to dispatch events to the central manager’s delegate.

See Also

Configuring Central Managers