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)