CentralRestorer

public struct CentralRestorer
extension CentralRestorer: CustomDebugStringConvertible

This object contains parsed information passed from the centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) method of CBCentralManagerDelegate dictionary

  • Undocumented

    Declaration

    Swift

    public unowned let centralManager: CBCentralManager
  • Undocumented

    Declaration

    Swift

    public let restoredInfo: [String : Any]
  • Array of PeripheralIdentifier 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: [PeripheralIdentifier] { 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 CBUUID objects of services 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: [CBUUID] { get }
  • Extended description of the CentralRestorer

    Declaration

    Swift

    public var debugDescription: String { get }