Enumeration

CBConnectionEvent

A change to the connection state of a peer.

Declaration

enum CBConnectionEvent : Int

Topics

Events

case peerConnected

The peer has connected to the local device.

case peerDisconnected

The peer has disconnected from the local device.

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.

struct CBConnectionEventMatchingOption

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