Package apple.exposurenotification.enums
Class ENStatus
- java.lang.Object
-
- apple.exposurenotification.enums.ENStatus
-
public final class ENStatus extends java.lang.Object=========================================================================================================================== Overall status of Exposure Notification on the system. API-Since: 12.5
-
-
Field Summary
Fields Modifier and Type Field Description static longActiveExposure Notification is active on the system.static longBluetoothOffBluetooth has been turned off on the system.static longDisabledExposure Notification is disabled.static longPausedFor future use.static longRestrictedExposure Notification is not active due to system restrictions, such as parental controls.static longUnauthorizedExposure Notification is not available due to insufficient authorization.static longUnknownStatus of Exposure Notification is unknown.
-
-
-
Field Detail
-
Unknown
public static final long Unknown
Status of Exposure Notification is unknown. This is the status before ENManager has activated successfully. API-Since: 12.5- See Also:
- Constant Field Values
-
Active
public static final long Active
Exposure Notification is active on the system. API-Since: 12.5- See Also:
- Constant Field Values
-
Disabled
public static final long Disabled
Exposure Notification is disabled. setExposureNotificationEnabled:completionHandler can be used to enable it. API-Since: 12.5- See Also:
- Constant Field Values
-
BluetoothOff
public static final long BluetoothOff
Bluetooth has been turned off on the system. Bluetooth is required for Exposure Notification. Note: this may not match the state of Bluetooth as reported by CoreBluetooth. Exposure Notification is a system service and can use Bluetooth in situations when apps cannot. So for the purposes of Exposure Notification, it's better to use this API instead of CoreBluetooth. API-Since: 12.5- See Also:
- Constant Field Values
-
Restricted
public static final long Restricted
Exposure Notification is not active due to system restrictions, such as parental controls. When in this state, the app cannot enable Exposure Notification. API-Since: 12.5- See Also:
- Constant Field Values
-
Paused
public static final long Paused
For future use. Not returned by any APIs yet. API-Since: 12.5- See Also:
- Constant Field Values
-
Unauthorized
public static final long Unauthorized
Exposure Notification is not available due to insufficient authorization. API-Since: 12.5- See Also:
- Constant Field Values
-
-