CentralManagerRestoredState

public struct CentralManagerRestoredState : CentralManagerRestoredStateType

Convenience class which helps reading state of restored CentralManager.

  • Restored state dictionary.

    Declaration

    Swift

    public let restoredStateData: [String : Any]
  • Undocumented

    Declaration

    Swift

    public unowned let centralManager: CentralManager
  • Array of Peripheral objects which have been restored. These are peripherals that were connected to the central manager (or had a connection pending) at the time the app was terminated by the system.

    Declaration

    Swift

    public var peripherals: [Peripheral] { get }
  • Dictionary that contains all of the peripheral scan options that were being used by the central manager at the time the app was terminated by the system.

    Declaration

    Swift

    public var scanOptions: [String : AnyObject]? { get }
  • Array of Service objects which have been restored. These are all the services the central manager was scanning for at the time the app was terminated by the system.

    Declaration

    Swift

    public var services: [Service] { get }