Package apple.exposurenotification.enums
Class ENAuthorizationStatus
- java.lang.Object
-
- apple.exposurenotification.enums.ENAuthorizationStatus
-
public final class ENAuthorizationStatus extends java.lang.Object=========================================================================================================================== Indicates the status of authorization for the app. API-Since: 12.5
-
-
Field Summary
Fields Modifier and Type Field Description static longAuthorizedThe user has authorized this app to use Exposure Notification.static longNotAuthorizedThe user denied authorization for this app.static longRestrictedThis app is not authorized to use Exposure Notification.static longUnknownAuthorization status has not yet been determined.
-
-
-
Field Detail
-
Unknown
public static final long Unknown
Authorization status has not yet been determined. This status means the user has not been prompted yet. Using the API in this state may prompt the user. API-Since: 12.5- See Also:
- Constant Field Values
-
Restricted
public static final long Restricted
This app is not authorized to use Exposure Notification. The user cannot change this app's authorization status. This status may be due to active restrictions, such as parental controls being in place. API-Since: 12.5- See Also:
- Constant Field Values
-
NotAuthorized
public static final long NotAuthorized
The user denied authorization for this app. API-Since: 12.5- See Also:
- Constant Field Values
-
Authorized
public static final long Authorized
The user has authorized this app to use Exposure Notification. API-Since: 12.5- See Also:
- Constant Field Values
-
-