Class ABAuthorizationStatus


  • public final class ABAuthorizationStatus
    extends java.lang.Object
    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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Authorized
      deprecated, use CNAuthorizationStatusAuthorized
      static long Denied
      deprecated, use CNAuthorizationStatusDenied
      static long NotDetermined
      deprecated, use CNAuthorizationStatusNotDetermined
      static long Restricted
      deprecated, use CNAuthorizationStatusRestricted
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • NotDetermined

        public static final long NotDetermined
        deprecated, use CNAuthorizationStatusNotDetermined
        See Also:
        Constant Field Values
      • Restricted

        public static final long Restricted
        deprecated, use CNAuthorizationStatusRestricted
        See Also:
        Constant Field Values
      • Denied

        public static final long Denied
        deprecated, use CNAuthorizationStatusDenied
        See Also:
        Constant Field Values
      • Authorized

        public static final long Authorized
        deprecated, use CNAuthorizationStatusAuthorized
        See Also:
        Constant Field Values