Class ABAuthorizationStatus


  • @Deprecated
    public final class ABAuthorizationStatus
    extends java.lang.Object
    Deprecated.
    To check the app's access to contact data. Based upon the access, the app could display or hide its UI elements that would access any AddressBook API. kABAuthorizationStatusNotDetermined The user has not yet made a choice regarding whether this app can access the data class. kABAuthorizationStatusRestricted This application is not authorized to access the data class. The user cannot change this application’s status, possibly due to active restrictions such as parental controls being in place. kABAuthorizationStatusDenied The user explicitly denied access to the data class for this application. kABAuthorizationStatusAuthorized This application is authorized to access the data class. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNAuthorizationStatus
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NotDetermined

        @Deprecated
        public static final long NotDetermined
        Deprecated.
        deprecated, use CNAuthorizationStatusNotDetermined API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNAuthorizationStatus
        See Also:
        Constant Field Values
      • Restricted

        @Deprecated
        public static final long Restricted
        Deprecated.
        deprecated, use CNAuthorizationStatusRestricted API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNAuthorizationStatus
        See Also:
        Constant Field Values
      • Denied

        @Deprecated
        public static final long Denied
        Deprecated.
        deprecated, use CNAuthorizationStatusDenied API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNAuthorizationStatus
        See Also:
        Constant Field Values
      • Authorized

        @Deprecated
        public static final long Authorized
        Deprecated.
        deprecated, use CNAuthorizationStatusAuthorized API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNAuthorizationStatus
        See Also:
        Constant Field Values