Contents

centralManager(_:connectionEventDidOccur:for:)

Tells the delegate that a connection event occurred which matches the registered options.

Declaration

optional func centralManager(_ central: CBCentralManager, connectionEventDidOccur event: CBConnectionEvent, for peripheral: CBPeripheral)

Discussion

The manager calls this method when it observes a connection event that matches the options provided to registerForConnectionEvents(options:).

See Also

Monitoring Connections with Peripherals