Global Variable

CBPeripheralManagerRestoredStateServicesKey

An array of restored peripheral services.

Declaration

let CBPeripheralManagerRestoredStateServicesKey: String

Discussion

The value associated with this key is an NSArray of CBMutableService objects. It contains all of the services that previously published to the local peripheral’s database when the system quit the app.

Restoration includes all information about a service, including any included services, characteristics, characteristic descriptors, and subscribed centrals.

See Also

State Restoration Dictionary Keys