Class 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 long Authorized
      The user has authorized this app to use Exposure Notification.
      static long NotAuthorized
      The user denied authorization for this app.
      static long Restricted
      This app is not authorized to use Exposure Notification.
      static long Unknown
      Authorization status has not yet been determined.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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