Class AddressBook


  • public final class AddressBook
    extends java.lang.Object
    • Field Detail

      • kABSourceTypeSearchableMask

        public static final double kABSourceTypeSearchableMask
        See Also:
        Constant Field Values
      • kABMultiValueInvalidIdentifier

        public static final double kABMultiValueInvalidIdentifier
        See Also:
        Constant Field Values
    • Method Detail

      • ABRecordGetRecordID

        @Deprecated
        public static int ABRecordGetRecordID​(org.moe.natj.general.ptr.ConstVoidPtr record)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CN object's identifier
      • ABRecordGetRecordType

        @Deprecated
        public static int ABRecordGetRecordType​(org.moe.natj.general.ptr.ConstVoidPtr record)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABRecordCopyValue

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABRecordCopyValue​(org.moe.natj.general.ptr.ConstVoidPtr record,
                                                                              int property)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CN object's properties
      • ABRecordSetValue

        @Deprecated
        public static boolean ABRecordSetValue​(org.moe.natj.general.ptr.ConstVoidPtr record,
                                               int property,
                                               org.moe.natj.general.ptr.ConstVoidPtr value,
                                               org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CN mutable object's properties
      • ABRecordRemoveValue

        @Deprecated
        public static boolean ABRecordRemoveValue​(org.moe.natj.general.ptr.ConstVoidPtr record,
                                                  int property,
                                                  org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CN mutable object's properties, setting to @, @[], or nil
      • ABRecordCopyCompositeName

        @Deprecated
        public static CFStringRef ABRecordCopyCompositeName​(org.moe.natj.general.ptr.ConstVoidPtr record)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFormatter or CN object's name
      • ABAddressBookGetAuthorizationStatus

        @Deprecated
        public static long ABAddressBookGetAuthorizationStatus()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore authorizationStatusForEntityType:]
      • ABAddressBookCreateWithOptions

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookCreateWithOptions​(CFDictionaryRef options,
                                                                                           org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        Call ABAddressBookCreateWithOptions to create an instance of AddressBook. The ABAddressBookRef will initially not have access to contact data. The app must then call ABAddressBookRequestAccessWithCompletion to request this access. The options argument is reserved for future use. Currently it will always be NULL. If access to contact data is already restricted or denied, this will fail returning a NULL ABAddressBookRef with error kABOperationNotPermittedByUserError. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNContactStore alloc] init]
      • ABAddressBookCreate

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookCreate()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNContactStore alloc] init]
      • ABAddressBookRequestAccessWithCompletion

        @Deprecated
        public static void ABAddressBookRequestAccessWithCompletion​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                    AddressBook.Block_ABAddressBookRequestAccessWithCompletion completion)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore requestAccessForEntityType:completionHandler:]
      • ABAddressBookSave

        @Deprecated
        public static boolean ABAddressBookSave​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore executeSaveRequest:error:]
      • ABAddressBookHasUnsavedChanges

        @Deprecated
        public static boolean ABAddressBookHasUnsavedChanges​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABAddressBookAddRecord

        @Deprecated
        public static boolean ABAddressBookAddRecord​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                     org.moe.natj.general.ptr.ConstVoidPtr record,
                                                     org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSaveRequest
      • ABAddressBookRemoveRecord

        @Deprecated
        public static boolean ABAddressBookRemoveRecord​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                        org.moe.natj.general.ptr.ConstVoidPtr record,
                                                        org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSaveRequest
      • ABAddressBookCopyLocalizedLabel

        @Deprecated
        public static CFStringRef ABAddressBookCopyLocalizedLabel​(CFStringRef label)
        Deprecated.
        Some labels are special keys representing generic labels. Use this function to obtain a localized string for a label to display to a user. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNLabeledValue localizedStringForLabel:]
      • ABAddressBookRegisterExternalChangeCallback

        @Deprecated
        public static void ABAddressBookRegisterExternalChangeCallback​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                       AddressBook.Function_ABAddressBookRegisterExternalChangeCallback callback,
                                                                       org.moe.natj.general.ptr.VoidPtr context)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactStoreDidChangeNotification
      • ABAddressBookUnregisterExternalChangeCallback

        @Deprecated
        public static void ABAddressBookUnregisterExternalChangeCallback​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                         AddressBook.Function_ABAddressBookUnregisterExternalChangeCallback callback,
                                                                         org.moe.natj.general.ptr.VoidPtr context)
        Deprecated.
        When unregistering a callback both the callback and the context need to match the ones that were registered. API-Since: 2.0 Deprecated-Since: 9.0
      • ABAddressBookRevert

        @Deprecated
        public static void ABAddressBookRevert​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        ABAddressBookRevert() discards all cached properties and any unsaved changes so that records and properties retrieved subsequently will reflect any changes made by external ABAddressBook instances. If records were deleted externally, the corresponding ABRecord instances will return NULL for all properties. If necessary you can identify these deleted records by checking whether the class accessor (eg. ABPersonGetPersonWithRecordID()) returns the record. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: refetch CN objects
      • ABAddressBookCopyDefaultSource

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookCopyDefaultSource​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainersWithIdentifiers: @[CNContactStore.defaultContainerIdentifier]] error:]
      • ABAddressBookGetSourceWithRecordID

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookGetSourceWithRecordID​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                                               int sourceID)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainersWithIdentifiers:] error:]
      • ABAddressBookCopyArrayOfAllSources

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllSources​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore containersMatchingPredicate:nil error:]
      • ABPersonCreate

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABPersonCreate()
        Deprecated.
        ABPersonCreate creates a new person in the default source API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNMutableContact alloc] init]
      • ABPersonCreateInSource

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABPersonCreateInSource​(org.moe.natj.general.ptr.ConstVoidPtr source)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNMutableContact alloc] init] and [CNSaveRequest addContact:toContainerWithIdentifier:]
      • ABPersonCopySource

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABPersonCopySource​(org.moe.natj.general.ptr.ConstVoidPtr person)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfContactWithIdentifier:] error:]
      • ABPersonCopyArrayOfAllLinkedPeople

        @Deprecated
        public static CFArrayRef ABPersonCopyArrayOfAllLinkedPeople​(org.moe.natj.general.ptr.ConstVoidPtr person)
        Deprecated.
        Returns an array of all the linked people, including the person passed in. If the person is not linked, returns an array with the person passed in. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = [CNContact predicateForContactsLinkedToContact:] and unifyResults = NO
      • ABPersonGetTypeOfProperty

        @Deprecated
        public static int ABPersonGetTypeOfProperty​(int property)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABPersonCopyLocalizedPropertyName

        @Deprecated
        public static CFStringRef ABPersonCopyLocalizedPropertyName​(int property)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContact localizedStringForKey:]
      • ABPersonGetSortOrdering

        @Deprecated
        public static int ABPersonGetSortOrdering()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNContactsUserDefaults sharedDefaults] sortOrder]
      • ABPersonGetCompositeNameFormat

        @Deprecated
        public static int ABPersonGetCompositeNameFormat()
        Deprecated.
        Composite Names API-Since: 2.0 Deprecated-Since: 9.0
      • ABPersonGetCompositeNameFormatForRecord

        @Deprecated
        public static int ABPersonGetCompositeNameFormatForRecord​(org.moe.natj.general.ptr.ConstVoidPtr record)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABPersonCopyCompositeNameDelimiterForRecord

        @Deprecated
        public static CFStringRef ABPersonCopyCompositeNameDelimiterForRecord​(org.moe.natj.general.ptr.ConstVoidPtr record)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABPersonSetImageData

        @Deprecated
        public static boolean ABPersonSetImageData​(org.moe.natj.general.ptr.ConstVoidPtr person,
                                                   CFDataRef imageData,
                                                   org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNMutableContact.imageData
      • ABPersonCopyImageData

        @Deprecated
        public static CFDataRef ABPersonCopyImageData​(org.moe.natj.general.ptr.ConstVoidPtr person)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.imageData
      • ABPersonCopyImageDataWithFormat

        @Deprecated
        public static CFDataRef ABPersonCopyImageDataWithFormat​(org.moe.natj.general.ptr.ConstVoidPtr person,
                                                                int format)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.imageData or CNContact.thumbnailImageData
      • ABPersonHasImageData

        @Deprecated
        public static boolean ABPersonHasImageData​(org.moe.natj.general.ptr.ConstVoidPtr person)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0
      • ABPersonRemoveImageData

        @Deprecated
        public static boolean ABPersonRemoveImageData​(org.moe.natj.general.ptr.ConstVoidPtr person,
                                                      org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNMutableContact.imageData = nil
      • ABPersonComparePeopleByName

        @Deprecated
        public static long ABPersonComparePeopleByName​(org.moe.natj.general.ptr.ConstVoidPtr person1,
                                                       org.moe.natj.general.ptr.ConstVoidPtr person2,
                                                       int ordering)
        Deprecated.
        Sorting API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContact comparatorForNameSortOrder:]
      • ABAddressBookGetPersonCount

        @Deprecated
        public static long ABAddressBookGetPersonCount​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        Finding people API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use count of fetch results for CNContactFetchRequest with predicate = nil
      • ABAddressBookGetPersonWithRecordID

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookGetPersonWithRecordID​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                                               int recordID)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore unifiedContactWithIdentifier:keysToFetch:error:]
      • ABAddressBookCopyArrayOfAllPeople

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllPeople​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = nil
      • ABAddressBookCopyArrayOfAllPeopleInSource

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllPeopleInSource​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                           org.moe.natj.general.ptr.ConstVoidPtr source)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = [CNContact predicateForContactsInContainerWithIdentifier:] and unifyResults = NO
      • ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                                           org.moe.natj.general.ptr.ConstVoidPtr source,
                                                                                           int sortOrdering)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = [CNContact predicateForContactsInContainerWithIdentifier:] and unifyResults = NO and sortOrder
      • ABAddressBookCopyPeopleWithName

        @Deprecated
        public static CFArrayRef ABAddressBookCopyPeopleWithName​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                 CFStringRef name)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore unifiedContactsMatchingPredicate:[CNContact predicateForContactsMatchingName:] keysToFetch: error:]
      • ABPersonCreatePeopleInSourceWithVCardRepresentation

        @Deprecated
        public static CFArrayRef ABPersonCreatePeopleInSourceWithVCardRepresentation​(org.moe.natj.general.ptr.ConstVoidPtr source,
                                                                                     CFDataRef vCardData)
        Deprecated.
        VCard Creates an array of people from a vcard representation. Source is optional. The people will be created in the source given as the first argument, or the default source if NULL. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactVCardSerialization contactsWithData:error:]
      • ABPersonCreateVCardRepresentationWithPeople

        @Deprecated
        public static CFDataRef ABPersonCreateVCardRepresentationWithPeople​(CFArrayRef people)
        Deprecated.
        Creates a vCard representation of the people passed in. API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactVCardSerialization dataWithContacts:error:]
      • ABAddressBookErrorDomain

        @Deprecated
        public static CFStringRef ABAddressBookErrorDomain()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNErrorDomain
      • kABSourceNameProperty

        @Deprecated
        public static int kABSourceNameProperty()
        Deprecated.
        string API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContainer.name
      • kABSourceTypeProperty

        @Deprecated
        public static int kABSourceTypeProperty()
        Deprecated.
        CFNumberRef of ABSourceType (int) API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContainer.type
      • kABWorkLabel

        @Deprecated
        public static CFStringRef kABWorkLabel()
        Deprecated.
        Generic labels API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelWork
      • kABHomeLabel

        @Deprecated
        public static CFStringRef kABHomeLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelHome
      • kABOtherLabel

        @Deprecated
        public static CFStringRef kABOtherLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelOther
      • kABPersonFirstNameProperty

        @Deprecated
        public static int kABPersonFirstNameProperty()
        Deprecated.
        First name - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.givenName
      • kABPersonLastNameProperty

        @Deprecated
        public static int kABPersonLastNameProperty()
        Deprecated.
        Last name - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.familyName
      • kABPersonMiddleNameProperty

        @Deprecated
        public static int kABPersonMiddleNameProperty()
        Deprecated.
        Middle name - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.middleName
      • kABPersonPrefixProperty

        @Deprecated
        public static int kABPersonPrefixProperty()
        Deprecated.
        Prefix ("Sir" "Duke" "General") - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.namePrefix
      • kABPersonSuffixProperty

        @Deprecated
        public static int kABPersonSuffixProperty()
        Deprecated.
        Suffix ("Jr." "Sr." "III") - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.nameSuffix
      • kABPersonNicknameProperty

        @Deprecated
        public static int kABPersonNicknameProperty()
        Deprecated.
        Nickname - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.nickname
      • kABPersonFirstNamePhoneticProperty

        @Deprecated
        public static int kABPersonFirstNamePhoneticProperty()
        Deprecated.
        First name Phonetic - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.phoneticGivenName
      • kABPersonLastNamePhoneticProperty

        @Deprecated
        public static int kABPersonLastNamePhoneticProperty()
        Deprecated.
        Last name Phonetic - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.phoneticFamilyName
      • kABPersonMiddleNamePhoneticProperty

        @Deprecated
        public static int kABPersonMiddleNamePhoneticProperty()
        Deprecated.
        Middle name Phonetic - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.phoneticMiddleName
      • kABPersonOrganizationProperty

        @Deprecated
        public static int kABPersonOrganizationProperty()
        Deprecated.
        Company name - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.organizationName
      • kABPersonDepartmentProperty

        @Deprecated
        public static int kABPersonDepartmentProperty()
        Deprecated.
        Department name - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.departmentName
      • kABPersonJobTitleProperty

        @Deprecated
        public static int kABPersonJobTitleProperty()
        Deprecated.
        Job Title - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.jobTitle
      • kABPersonEmailProperty

        @Deprecated
        public static int kABPersonEmailProperty()
        Deprecated.
        Email(s) - kABMultiStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.emailAddresses
      • kABPersonBirthdayProperty

        @Deprecated
        public static int kABPersonBirthdayProperty()
        Deprecated.
        Birthday associated with this person - kABDateTimePropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.birthday
      • kABPersonNoteProperty

        @Deprecated
        public static int kABPersonNoteProperty()
        Deprecated.
        Note - kABStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.note
      • kABPersonCreationDateProperty

        @Deprecated
        public static int kABPersonCreationDateProperty()
        Deprecated.
        Creation Date (when first saved) API-Since: 2.0 Deprecated-Since: 9.0
      • kABPersonModificationDateProperty

        @Deprecated
        public static int kABPersonModificationDateProperty()
        Deprecated.
        Last saved date API-Since: 2.0 Deprecated-Since: 9.0
      • kABPersonAddressProperty

        @Deprecated
        public static int kABPersonAddressProperty()
        Deprecated.
        Street address - kABMultiDictionaryPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.postalAddresses
      • kABPersonAddressStreetKey

        @Deprecated
        public static CFStringRef kABPersonAddressStreetKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.street
      • kABPersonAddressCityKey

        @Deprecated
        public static CFStringRef kABPersonAddressCityKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.city
      • kABPersonAddressStateKey

        @Deprecated
        public static CFStringRef kABPersonAddressStateKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.state
      • kABPersonAddressZIPKey

        @Deprecated
        public static CFStringRef kABPersonAddressZIPKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.postalCode
      • kABPersonAddressCountryKey

        @Deprecated
        public static CFStringRef kABPersonAddressCountryKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.country
      • kABPersonAddressCountryCodeKey

        @Deprecated
        public static CFStringRef kABPersonAddressCountryCodeKey()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNPostalAddress.ISOCountryCode
      • kABPersonDateProperty

        @Deprecated
        public static int kABPersonDateProperty()
        Deprecated.
        Dates associated with this person - kABMultiDatePropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.dates
      • kABPersonAnniversaryLabel

        @Deprecated
        public static CFStringRef kABPersonAnniversaryLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelDateAnniversary
      • kABPersonKindProperty

        @Deprecated
        public static int kABPersonKindProperty()
        Deprecated.
        Person/Organization - kABIntegerPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.contactType
      • kABPersonKindPerson

        @Deprecated
        public static CFNumberRef kABPersonKindPerson()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactTypePerson
      • kABPersonKindOrganization

        @Deprecated
        public static CFNumberRef kABPersonKindOrganization()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactTypeOrganization
      • kABPersonPhoneProperty

        @Deprecated
        public static int kABPersonPhoneProperty()
        Deprecated.
        Generic phone number - kABMultiStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.phoneNumbers
      • kABPersonPhoneMobileLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneMobileLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberMobile
      • kABPersonPhoneIPhoneLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneIPhoneLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberiPhone
      • kABPersonPhoneMainLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneMainLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberMain
      • kABPersonPhoneHomeFAXLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneHomeFAXLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberHomeFax
      • kABPersonPhoneWorkFAXLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneWorkFAXLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberWorkFax
      • kABPersonPhoneOtherFAXLabel

        @Deprecated
        public static CFStringRef kABPersonPhoneOtherFAXLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberOtherFax
      • kABPersonPhonePagerLabel

        @Deprecated
        public static CFStringRef kABPersonPhonePagerLabel()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelPhoneNumberPager
      • kABPersonInstantMessageProperty

        @Deprecated
        public static int kABPersonInstantMessageProperty()
        Deprecated.
        Instant Messaging - kABMultiDictionaryPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.instantMessageAddresses
      • kABPersonInstantMessageServiceKey

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceKey()
        Deprecated.
        Service ("Yahoo", "Jabber", etc.) API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageAddress.service
      • kABPersonInstantMessageServiceYahoo

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceYahoo()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceYahoo
      • kABPersonInstantMessageServiceJabber

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceJabber()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceJabber
      • kABPersonInstantMessageServiceMSN

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceMSN()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceMSN
      • kABPersonInstantMessageServiceICQ

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceICQ()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceICQ
      • kABPersonInstantMessageServiceAIM

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceAIM()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceAIM
      • kABPersonInstantMessageServiceQQ

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceQQ()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceQQ
      • kABPersonInstantMessageServiceGoogleTalk

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceGoogleTalk()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceGoogleTalk
      • kABPersonInstantMessageServiceSkype

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceSkype()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceSkype
      • kABPersonInstantMessageServiceFacebook

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceFacebook()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceFacebook
      • kABPersonInstantMessageServiceGaduGadu

        @Deprecated
        public static CFStringRef kABPersonInstantMessageServiceGaduGadu()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageServiceGaduGadu
      • kABPersonInstantMessageUsernameKey

        @Deprecated
        public static CFStringRef kABPersonInstantMessageUsernameKey()
        Deprecated.
        Username API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNInstantMessageAddress.username
      • kABPersonURLProperty

        @Deprecated
        public static int kABPersonURLProperty()
        Deprecated.
        URL - kABMultiStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.urlAddresses
      • kABPersonHomePageLabel

        @Deprecated
        public static CFStringRef kABPersonHomePageLabel()
        Deprecated.
        Home Page API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelURLAddressHomePage
      • kABPersonRelatedNamesProperty

        @Deprecated
        public static int kABPersonRelatedNamesProperty()
        Deprecated.
        Names - kABMultiStringPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.contactRelations
      • kABPersonFatherLabel

        @Deprecated
        public static CFStringRef kABPersonFatherLabel()
        Deprecated.
        Father API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationFather
      • kABPersonMotherLabel

        @Deprecated
        public static CFStringRef kABPersonMotherLabel()
        Deprecated.
        Mother API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationMother
      • kABPersonParentLabel

        @Deprecated
        public static CFStringRef kABPersonParentLabel()
        Deprecated.
        Parent API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationParent
      • kABPersonBrotherLabel

        @Deprecated
        public static CFStringRef kABPersonBrotherLabel()
        Deprecated.
        Brother API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationBrother
      • kABPersonSisterLabel

        @Deprecated
        public static CFStringRef kABPersonSisterLabel()
        Deprecated.
        Sister API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationSister
      • kABPersonChildLabel

        @Deprecated
        public static CFStringRef kABPersonChildLabel()
        Deprecated.
        Child API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationChild
      • kABPersonFriendLabel

        @Deprecated
        public static CFStringRef kABPersonFriendLabel()
        Deprecated.
        Friend API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationFriend
      • kABPersonSpouseLabel

        @Deprecated
        public static CFStringRef kABPersonSpouseLabel()
        Deprecated.
        Spouse API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationSpouse
      • kABPersonPartnerLabel

        @Deprecated
        public static CFStringRef kABPersonPartnerLabel()
        Deprecated.
        Partner API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationPartner
      • kABPersonAssistantLabel

        @Deprecated
        public static CFStringRef kABPersonAssistantLabel()
        Deprecated.
        Assistant API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationAssistant
      • kABPersonManagerLabel

        @Deprecated
        public static CFStringRef kABPersonManagerLabel()
        Deprecated.
        Manager API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNLabelContactRelationManager
      • kABPersonSocialProfileProperty

        @Deprecated
        public static int kABPersonSocialProfileProperty()
        Deprecated.
        kABMultiDictionaryPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.socialProfiles
      • kABPersonSocialProfileURLKey

        @Deprecated
        public static CFStringRef kABPersonSocialProfileURLKey()
        Deprecated.
        string representation of a url for the social profile API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfile.urlString
      • kABPersonSocialProfileServiceKey

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceKey()
        Deprecated.
        string representing the name of the service (Twitter, Facebook, LinkedIn, etc.) API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfile.service
      • kABPersonSocialProfileUsernameKey

        @Deprecated
        public static CFStringRef kABPersonSocialProfileUsernameKey()
        Deprecated.
        string representing the user visible name API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfile.username
      • kABPersonSocialProfileUserIdentifierKey

        @Deprecated
        public static CFStringRef kABPersonSocialProfileUserIdentifierKey()
        Deprecated.
        string representing the service specific identifier (optional) API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfile.userIdentifier
      • kABPersonSocialProfileServiceTwitter

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceTwitter()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceTwitter
      • kABPersonSocialProfileServiceSinaWeibo

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceSinaWeibo()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceSinaWeibo
      • kABPersonSocialProfileServiceGameCenter

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceGameCenter()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceGameCenter
      • kABPersonSocialProfileServiceFacebook

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceFacebook()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceFacebook
      • kABPersonSocialProfileServiceMyspace

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceMyspace()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceMySpace
      • kABPersonSocialProfileServiceLinkedIn

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceLinkedIn()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceLinkedIn
      • kABPersonSocialProfileServiceFlickr

        @Deprecated
        public static CFStringRef kABPersonSocialProfileServiceFlickr()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNSocialProfileServiceFlickr
      • kABPersonAlternateBirthdayProperty

        @Deprecated
        public static int kABPersonAlternateBirthdayProperty()
        Deprecated.
        kABDictionaryPropertyType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContact.nonGregorianBirthday
      • kABPersonAlternateBirthdayCalendarIdentifierKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayCalendarIdentifierKey()
        Deprecated.
        string representing the calendar identifier for CFCalendarRef API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.calendar
      • kABPersonAlternateBirthdayEraKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayEraKey()
        Deprecated.
        CFNumberRef - kCFNumberNSIntegerType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.era
      • kABPersonAlternateBirthdayYearKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayYearKey()
        Deprecated.
        CFNumberRef - kCFNumberNSIntegerType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.year
      • kABPersonAlternateBirthdayMonthKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayMonthKey()
        Deprecated.
        CFNumberRef - kCFNumberNSIntegerType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.month
      • kABPersonAlternateBirthdayIsLeapMonthKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayIsLeapMonthKey()
        Deprecated.
        CFNumberRef - kCFNumberCharType (aka NSNumber Bool type) API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.isLeapMonth
      • kABPersonAlternateBirthdayDayKey

        @Deprecated
        public static CFStringRef kABPersonAlternateBirthdayDayKey()
        Deprecated.
        CFNumberRef - kCFNumberNSIntegerType API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSDateComponents.day
      • ABGroupCreate

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABGroupCreate()
        Deprecated.
        ABGroupCreate creates a new group in the default source API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNMutableGroup alloc] init]
      • ABGroupCreateInSource

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABGroupCreateInSource​(org.moe.natj.general.ptr.ConstVoidPtr source)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[CNMutableGroup alloc] init] and [CNSaveRequest addGroup:toContainerWithIdentifier:]
      • ABGroupCopySource

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABGroupCopySource​(org.moe.natj.general.ptr.ConstVoidPtr group)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfGroupWithIdentifier:] error:]
      • ABGroupCopyArrayOfAllMembers

        @Deprecated
        public static CFArrayRef ABGroupCopyArrayOfAllMembers​(org.moe.natj.general.ptr.ConstVoidPtr group)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:]
      • ABGroupCopyArrayOfAllMembersWithSortOrdering

        @Deprecated
        public static CFArrayRef ABGroupCopyArrayOfAllMembersWithSortOrdering​(org.moe.natj.general.ptr.ConstVoidPtr group,
                                                                              int sortOrdering)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNContactFetchRequest with predicate = [CNContact predicateForContactsInGroupWithIdentifier:] and sortOrder
      • ABGroupAddMember

        @Deprecated
        public static boolean ABGroupAddMember​(org.moe.natj.general.ptr.ConstVoidPtr group,
                                               org.moe.natj.general.ptr.ConstVoidPtr person,
                                               org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNSaveRequest addMember:toGroup:]
      • ABGroupRemoveMember

        @Deprecated
        public static boolean ABGroupRemoveMember​(org.moe.natj.general.ptr.ConstVoidPtr group,
                                                  org.moe.natj.general.ptr.ConstVoidPtr member,
                                                  org.moe.natj.general.ptr.Ptr<CFErrorRef> error)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNSaveRequest removeMember:fromGroup:]
      • ABAddressBookGetGroupWithRecordID

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABAddressBookGetGroupWithRecordID​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                                              int recordID)
        Deprecated.
        Finding groups API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore groupsMatchingPredicate:[CNGroup predicateForGroupsWithIdentifiers:] error:]
      • ABAddressBookGetGroupCount

        @Deprecated
        public static long ABAddressBookGetGroupCount​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use count of fetch results for [CNContactStore groupsMatchingPredicate:nil error:]
      • ABAddressBookCopyArrayOfAllGroups

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllGroups​(org.moe.natj.general.ptr.ConstVoidPtr addressBook)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore groupsMatchingPredicate:nil error:]
      • ABAddressBookCopyArrayOfAllGroupsInSource

        @Deprecated
        public static CFArrayRef ABAddressBookCopyArrayOfAllGroupsInSource​(org.moe.natj.general.ptr.ConstVoidPtr addressBook,
                                                                           org.moe.natj.general.ptr.ConstVoidPtr source)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [CNContactStore groupsMatchingPredicate:[CNGroup predicateForGroupsInContainerWithIdentifier:] error:]
      • ABMultiValueGetPropertyType

        @Deprecated
        public static int ABMultiValueGetPropertyType​(org.moe.natj.general.ptr.ConstVoidPtr multiValue)
        Deprecated.
        Type of the contained values API-Since: 2.0 Deprecated-Since: 9.0
      • ABMultiValueGetCount

        @Deprecated
        public static long ABMultiValueGetCount​(org.moe.natj.general.ptr.ConstVoidPtr multiValue)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use NSArray.count with the labeled value property
      • ABMultiValueCopyValueAtIndex

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABMultiValueCopyValueAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                                                         long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[NSArray objectAtIndex:] value] with the labeled value property
      • ABMultiValueCopyArrayOfAllValues

        @Deprecated
        public static CFArrayRef ABMultiValueCopyArrayOfAllValues​(org.moe.natj.general.ptr.ConstVoidPtr multiValue)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSArray enumerateObjectsUsingBlock:] with the labeled value property and collect the values
      • ABMultiValueCopyLabelAtIndex

        @Deprecated
        public static CFStringRef ABMultiValueCopyLabelAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                               long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[NSArray objectAtIndex:] label] with the labeled value property
      • ABMultiValueGetIndexForIdentifier

        @Deprecated
        public static long ABMultiValueGetIndexForIdentifier​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                             int identifier)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSArray indexOfObjectPassingTest:] with the labeled value property and find the identifier
      • ABMultiValueGetIdentifierAtIndex

        @Deprecated
        public static int ABMultiValueGetIdentifierAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                           long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[NSArray objectAtIndex:] identifier] with the labeled value property
      • ABMultiValueGetFirstIndexOfValue

        @Deprecated
        public static long ABMultiValueGetFirstIndexOfValue​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                            org.moe.natj.general.ptr.ConstVoidPtr value)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSArray indexOfObjectPassingTest:] with the labeled value property and find the value
      • ABMultiValueCreateMutable

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABMultiValueCreateMutable​(int type)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [[NSMutableArray alloc] init]
      • ABMultiValueCreateMutableCopy

        @Deprecated
        public static org.moe.natj.general.ptr.ConstVoidPtr ABMultiValueCreateMutableCopy​(org.moe.natj.general.ptr.ConstVoidPtr multiValue)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSArray mutableCopy]
      • ABMultiValueAddValueAndLabel

        @Deprecated
        public static boolean ABMultiValueAddValueAndLabel​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                           org.moe.natj.general.ptr.ConstVoidPtr value,
                                                           CFStringRef label,
                                                           org.moe.natj.general.ptr.IntPtr outIdentifier)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSMutableArray addObject:[CNLabeledValue labeledValueWithLabel:value:]]
      • ABMultiValueInsertValueAndLabelAtIndex

        @Deprecated
        public static boolean ABMultiValueInsertValueAndLabelAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                                     org.moe.natj.general.ptr.ConstVoidPtr value,
                                                                     CFStringRef label,
                                                                     long index,
                                                                     org.moe.natj.general.ptr.IntPtr outIdentifier)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSMutableArray insertObject:[CNLabeledValue labeledValueWithLabel:value:] atIndex:]
      • ABMultiValueRemoveValueAndLabelAtIndex

        @Deprecated
        public static boolean ABMultiValueRemoveValueAndLabelAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                                     long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSMutableArray removeObjectAtIndex:]
      • ABMultiValueReplaceValueAtIndex

        @Deprecated
        public static boolean ABMultiValueReplaceValueAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                              org.moe.natj.general.ptr.ConstVoidPtr value,
                                                              long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingValue:]]
      • ABMultiValueReplaceLabelAtIndex

        @Deprecated
        public static boolean ABMultiValueReplaceLabelAtIndex​(org.moe.natj.general.ptr.ConstVoidPtr multiValue,
                                                              CFStringRef label,
                                                              long index)
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use [NSMutableArray replaceObjectAtIndex: withObject:[CNLabeledValue labeledValueBySettingLabel:]]
      • kABGroupNameProperty

        @Deprecated
        public static int kABGroupNameProperty()
        Deprecated.
        API-Since: 2.0 Deprecated-Since: 9.0 Deprecated-Message: use CNGroup.name