A set of options to use when registering for connection events.


struct CBConnectionEventMatchingOption


Creating a Matching Option Instance

init(rawValue: String)

Creates a matching option from the provided raw value.

Matching Options

static let peripheralUUIDs: CBConnectionEventMatchingOption

An array of UUID objects that represents peripherals to match.

static let serviceUUIDs: CBConnectionEventMatchingOption

An array that represents service identifiers to match.


See Also

Receiving Connection Events

func registerForConnectionEvents(options: [CBConnectionEventMatchingOption : Any]?)

Register for an event notification when the central manager makes a connection matching the given options.

Peripheral Connection Options

Keys used to pass options when connecting to a peripheral.

enum CBConnectionEvent

A change to the connection state of a peer.