CBCentralManager
An object that scans for, discovers, connects to, and manages peripherals.
Declaration
class CBCentralManagerOverview
CBCentralManager objects manage discovered or connected remote peripheral devices (represented by CBPeripheral objects), including scanning for, discovering, and connecting to advertising peripherals.
Before calling the CBCentralManager methods, set the state of the central manager object to powered on, as indicated by the CBCentralManagerState.poweredOn constant. This state indicates that the central device (your iPhone or iPad, for instance) supports Bluetooth low energy and that Bluetooth is on and available for use.
Topics
Initializing a Central Manager
init()init(delegate:queue:)init(delegate:queue:options:)Central Manager Initialization OptionsCentral Manager State Restoration Options
Establishing or Canceling Connections with Peripherals
Retrieving Lists of Peripherals
Scanning or Stopping Scans of Peripherals
Inspecting Feature Support
Monitoring Properties
Receiving Connection Events
registerForConnectionEvents(options:)Peripheral Connection OptionsCBConnectionEventCBConnectionEventMatchingOption