Central Manager State Restoration Options

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

Topics

State Restoration Options

let CBCentralManagerRestoredStatePeripheralsKey: String

An array of peripherals for use when restoring the state of a central manager.

let CBCentralManagerRestoredStateScanServicesKey: String

An array of service IDs for use when restoring state.

let CBCentralManagerRestoredStateScanOptionsKey: String

A dictionary of peripheral scan options for use when restoring state.

See Also

Initializing a Central Manager

init()

Initializes the central manager without a delegate.

init(delegate: CBCentralManagerDelegate?, queue: DispatchQueue?)

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

init(delegate: CBCentralManagerDelegate?, queue: DispatchQueue?, options: [String : Any]?)

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

Central Manager Initialization Options

Keys used to pass options when initializing a central manager.