CBCentralManagerDelegate
A protocol that provides updates for the discovery and management of peripheral devices.
Declaration
protocol CBCentralManagerDelegate : NSObjectProtocolOverview
The CBCentralManagerDelegate protocol defines the methods that a delegate of a CBCentralManager object must adopt. The optional methods of the protocol allow the delegate to monitor the discovery, connectivity, and retrieval of peripheral devices. The only required method is centralManagerDidUpdateState(_:); the central manager calls this when its state updates, thereby indicating the availability of the central manager.
Topics
Monitoring Connections with Peripherals
centralManager(_:didConnect:)centralManager(_:didDisconnectPeripheral:error:)centralManager(_:didFailToConnect:error:)centralManager(_:connectionEventDidOccur:for:)