Package org.robovm.apple.addressbook
Class ABPerson
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.addressbook.ABRecord
org.robovm.apple.addressbook.ABPerson
- All Implemented Interfaces:
AutoCloseable
public class ABPerson extends ABRecord
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classABPerson.AsListMarshalerNested classes/interfaces inherited from class org.robovm.apple.addressbook.ABRecord
ABRecord.Marshaler, ABRecord.NoRetainMarshalerNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.CFTypePtr -
Field Summary
-
Constructor Summary
Constructors Constructor Description ABPerson() -
Method Summary
Methods inherited from class org.robovm.apple.addressbook.ABRecord
getCompositeName, getRecordID, getRecordType, getValue, getValue, removeValue, setValueMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
ABPerson
public ABPerson()
-
-
Method Details
-
getFirstName
-
setFirstName
- Throws:
NSErrorException
-
getLastName
-
setLastName
- Throws:
NSErrorException
-
getMiddleName
-
setMiddleName
- Throws:
NSErrorException
-
getPrefix
-
setPrefix
- Throws:
NSErrorException
-
getSuffix
-
setSuffix
- Throws:
NSErrorException
-
getNickname
-
setNickname
- Throws:
NSErrorException
-
getFirstNamePhonetic
-
setFirstNamePhonetic
- Throws:
NSErrorException
-
getLastNamePhonetic
-
setLastNamePhonetic
- Throws:
NSErrorException
-
getMiddleNamePhonetic
-
setMiddleNamePhonetic
- Throws:
NSErrorException
-
getOrganization
-
setOrganization
- Throws:
NSErrorException
-
getJobTitle
-
setJobTitle
- Throws:
NSErrorException
-
getDepartment
-
setDepartment
- Throws:
NSErrorException
-
getEmailAddresses
-
setEmailAddresses
public ABPerson setEmailAddresses(List<ABPersonEmailAddress> emailAddresses) throws NSErrorException- Throws:
NSErrorException
-
addEmailAddress
- Throws:
NSErrorException
-
removeEmailAddress
- Throws:
NSErrorException
-
getBirthday
-
setBirthday
- Throws:
NSErrorException
-
getNote
-
setNote
- Throws:
NSErrorException
-
getCreationDate
-
setCreationDate
- Throws:
NSErrorException
-
getModificationDate
-
setModificationDate
- Throws:
NSErrorException
-
getAddresses
-
setAddresses
- Throws:
NSErrorException
-
addAddress
- Throws:
NSErrorException
-
removeAddress
- Throws:
NSErrorException
-
getDates
-
setDates
- Throws:
NSErrorException
-
getKind
-
setKind
- Throws:
NSErrorException
-
getPhoneNumbers
-
setPhoneNumbers
- Throws:
NSErrorException
-
addPhoneNumber
- Throws:
NSErrorException
-
removePhoneNumber
- Throws:
NSErrorException
-
getInstantMessageAccounts
-
setInstantMessageAccounts
public ABPerson setInstantMessageAccounts(List<ABPersonInstantMessageAccount> instantMessageAccounts) throws NSErrorException- Throws:
NSErrorException
-
addInstantMessageAccount
public int addInstantMessageAccount(ABPersonInstantMessageAccount instantMessageAccount) throws NSErrorException- Throws:
NSErrorException
-
removeInstantMessageAccount
- Throws:
NSErrorException
-
getSocialProfiles
-
setSocialProfiles
public ABPerson setSocialProfiles(List<ABPersonSocialProfile> socialProfiles) throws NSErrorException- Throws:
NSErrorException
-
addSocialProfile
- Throws:
NSErrorException
-
removeSocialProfile
- Throws:
NSErrorException
-
getURLs
-
setURLs
- Throws:
NSErrorException
-
addURL
- Throws:
NSErrorException
-
removeURL
- Throws:
NSErrorException
-
getRelatedNames
-
setRelatedNames
- Throws:
NSErrorException
-
addRelatedName
- Throws:
NSErrorException
-
removeRelatedName
- Throws:
NSErrorException
-
getAlternateBirthday
-
setAlternateBirthday
public ABPerson setAlternateBirthday(ABPersonAlternateBirthday alternateBirthday) throws NSErrorException- Throws:
NSErrorException
-
create
Deprecated.Deprecated in iOS 9.0. use [[CNMutableContact alloc] init] -
create
Deprecated.Deprecated in iOS 9.0. use [[CNMutableContact alloc] init] and [CNSaveRequest addContact:toContainerWithIdentifier:] -
getSource
Deprecated.Deprecated in iOS 9.0. use [CNContactStore containersMatchingPredicate:[CNContainer predicateForContainerOfContactWithIdentifier:] error:] -
getAllLinkedPeople
Deprecated.Deprecated in iOS 9.0. use CNContactFetchRequest with predicate = [CNContact predicateForContactsLinkedToContact:] and unifyResults = NO -
getSortOrdering
Deprecated.Deprecated in iOS 9.0. use [[CNContactsUserDefaults sharedDefaults] sortOrder] -
getConstantCompositeNameFormat
Deprecated.Deprecated in iOS 9.0. -
getCompositeNameFormat
Deprecated.Deprecated in iOS 9.0. -
getCompositeNameDelimiter
Deprecated.Deprecated in iOS 9.0. -
setImageData
Deprecated.Deprecated in iOS 9.0. use CNMutableContact.imageData- Throws:
NSErrorException
-
getImageData
Deprecated.Deprecated in iOS 9.0. use CNContact.imageData -
getImageData
Deprecated.Deprecated in iOS 9.0. use CNContact.imageData or CNContact.thumbnailImageData -
hasImageData
Deprecated.Deprecated in iOS 9.0. -
removeImageData
Deprecated.Deprecated in iOS 9.0. use CNMutableContact.imageData = nil- Throws:
NSErrorException
-
compareTo
Deprecated.Deprecated in iOS 9.0. use [CNContact comparatorForNameSortOrder:] -
createPeopleWithVCardRepresentation
@Deprecated public static List<ABPerson> createPeopleWithVCardRepresentation(ABSource source, NSData vCardData)Deprecated.Deprecated in iOS 9.0. use [CNContactVCardSerialization contactsWithData:error:] -
createVCardRepresentationWithPeople
Deprecated.Deprecated in iOS 9.0. use [CNContactVCardSerialization dataWithContacts:error:]
-