Instance Method

centralManager:connectionEventDidOccur:forPeripheral:

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

Declaration

- (void)centralManager:(CBCentralManager *)central connectionEventDidOccur:(CBConnectionEvent)event forPeripheral:(CBPeripheral *)peripheral;

Discussion

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

See Also

Monitoring Connections with Peripherals

- centralManager:didConnectPeripheral:

Tells the delegate that the central manager connected to a peripheral.

- centralManager:didDisconnectPeripheral:error:

Tells the delegate that the central manager disconnected from a peripheral.

- centralManager:didFailToConnectPeripheral:error:

Tells the delegate the central manager failed to create a connection with a peripheral.