Instance Method


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


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



A dictionary that specifies options for connection events. See Peripheral Connection Options for a list of possible options.


When the central manager makes a connection that matches the options, it calls the delegate’s centralManager(_:connectionEventDidOccur:for:) method.

See Also

Receiving Connection Events

Peripheral Connection Options

Keys used to pass options when connecting to a peripheral.

enum CBConnectionEvent

A change to the connection state of a peer.

struct CBConnectionEventMatchingOption

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