Contents

CBCentralManagerRestoredStatePeripheralsKey

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

Declaration

let CBCentralManagerRestoredStatePeripheralsKey: String

Discussion

The value associated with this key is an NSArray of CBPeripheral objects. The array contains all of the peripherals connected to the central manager (or had a pending connection) at the time the system terminated the app.

When possible, the system restores all information about a peripheral, including any discovered services, characteristics, characteristic descriptors, and characteristic notification states.

See Also

State Restoration Options