Package apple.addressbook.enums
Class ABAuthorizationStatus
- java.lang.Object
-
- apple.addressbook.enums.ABAuthorizationStatus
-
public final class ABAuthorizationStatus extends java.lang.ObjectTo 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 longAuthorizeddeprecated, use CNAuthorizationStatusAuthorizedstatic longDenieddeprecated, use CNAuthorizationStatusDeniedstatic longNotDetermineddeprecated, use CNAuthorizationStatusNotDeterminedstatic longRestricteddeprecated, use CNAuthorizationStatusRestricted
-
-
-
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
-
-