PeripheralManagerRestoredState

public struct PeripheralManagerRestoredState

Convenience class which helps reading state of restored PeripheralManager.

  • Restored state dictionary.

    Declaration

    Swift

    public let restoredStateData: [String : Any]
  • An array of CBMutableService objects that contains all of the services that were published to the local peripheral’s database at the time the app was terminated by the system.

    Declaration

    Swift

    public var services: [CBMutableService] { get }
  • A dictionary containing the data that the peripheral manager was advertising at the time the app was terminated by the system.

    Declaration

    Swift

    public var advertisementData: [String : Any]? { get }