BackgroundRestoreMode

public enum BackgroundRestoreMode

Determines how Bluejay should opt-in to CoreBluetooth state restoration.

  • Bluejay will not receieve state restoration callbacks from CoreBluetooth.

    Declaration

    Swift

    case disable
  • Bluejay will receive state restoration callbacks from CoreBluetooth.

    Note

    Please provide a unique restore identifier for CoreBluetooth. See Apple documentation for more details.

    Declaration

    Swift

    case enable(RestoreIdentifier)
  • Bluejay will receive state restoration callbacks from CoreBluetooth and attempt to restore listens when necessary using the provided listen restorer.

    Note

    Please provide a unique restore identifier for CoreBluetooth. See Apple documentation for more details.

    Declaration

    Swift

    case enableWithListenRestorer(RestoreIdentifier, ListenRestorer)