Instance Method


Initializes the central manager with specified delegate, dispatch queue, and initialization options.


- (instancetype)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary<NSString *,id> *)options;



The delegate that receives the central events.


The dispatch queue used to dispatch the central role events. If the value is nil, the central manager dispatches central role events using the main queue.


An optional dictionary that contains initialization options for a central manager. For available options, see Central Manager Initialization Options.

Return Value

Returns a newly initialized central manager.


This method is the designated initializer for the CBCentralManager class.

See Also

Initializing a Central Manager

- init

Initializes the central manager without a delegate.

- initWithDelegate:queue:

Initializes the central manager with a specified delegate and dispatch queue.

Central Manager Initialization Options

Keys used to pass options when initializing a central manager.

Central Manager State Restoration Options

Keys used to pass state restoration options to the central manager initializer.