Platforms to show: All Mac Windows Linux Cross-Platform
ABAddressBookMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Addressbook | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use CNContactStoreMBS class instead.
The Addressbook class for Mac OS X 10.2 and newer.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
- event DatabaseChanged(Externally as boolean, InsertedRecords() as string, UpdatedRecords() as string, DeletedRecords() as string)
- 6 properties
- property defaultAccount as ABAccountMBS
- property defaultCountryCode as string
- property defaultNameOrdering as Integer
- property Handle as Integer
- property hasUnsavedChanges as boolean
- property owner as ABPersonMBS
- 31 methods
- method accountWithIdentifier(Identifier as string) as ABAccountMBS
- method addRecord(record as ABRecordMBS) as boolean
- method addRecord(record as ABRecordMBS, Account as ABAccountMBS, byref error as NSErrorMBS) as boolean
- method addRecord(record as ABRecordMBS, byref error as NSErrorMBS) as boolean
- method allAccounts as ABAccountMBS()
- method Constructor
- method enabledAccounts as ABAccountMBS()
- method EnableEvent
- method formattedAddressFromDictionary(address as Dictionary) as NSAttributedStringMBS
- method groupForName(name as string) as ABGroupMBS
- method groupForUniqueId(uniqueid as string) as ABGroupMBS
- method groupForUniqueId(uniqueid as string, account as ABAccountMBS) as ABGroupMBS
- method groups as ABGroupMBS()
- method groupsForAccount(account as ABAccountMBS) as ABGroupMBS()
- method LocalizedPropertyOrLabel(propertyOrLabel as string) as string
- method NewPersonWithVCardRepresentation(data as memoryblock) as ABPersonMBS
- method people as ABPersonMBS()
- method peopleForAccount(account as ABAccountMBS) as ABPersonMBS()
- method peopleForEmail(email as string) as ABPersonMBS()
- method persistentAccounts as ABAccountMBS()
- method personForUniqueId(uniqueid as string) as ABPersonMBS
- method personForUniqueId(uniqueid as string, account as ABAccountMBS) as ABPersonMBS
- method recordClassFromUniqueId(uniqueid as string) as string
- method recordForUniqueId(uniqueid as string) as ABRecordMBS
- method recordForUniqueId(uniqueid as string, account as ABAccountMBS) as ABRecordMBS
- method recordsMatchingSearchElement(search as ABSearchElementMBS) as ABRecordMBS()
- method removeRecord(record as ABRecordMBS) as boolean
- method removeRecord(record as ABRecordMBS, byref error as NSErrorMBS) as boolean
- method save as boolean
- method save(byref error as NSErrorMBS) as boolean
- method setMe(moi as ABPersonMBS)
- 123 shared methods
- shared method ABAddressBookErrorDomain as string
- shared method ABMultiValueIdentifiersErrorKey as string
- shared method addressBook as ABAddressBookMBS
- shared method GotSharedAddressbook as boolean
- shared method kABAddressCityKey as string
- shared method kABAddressCountryCodeKey as string
- shared method kABAddressCountryKey as string
- shared method kABAddressHomeLabel as string
- shared method kABAddressProperty as string
- shared method kABAddressStateKey as string
- shared method kABAddressStreetKey as string
- shared method kABAddressWorkLabel as string
- shared method kABAddressZIPKey as string
- shared method kABAIMHomeLabel as string
- shared method kABAIMInstantProperty as string
- shared method kABAIMMobileMeLabel as string
- shared method kABAIMWorkLabel as string
- shared method kABAlternateBirthdayComponentsProperty as string
- shared method kABAnniversaryLabel as string
- shared method kABAssistantLabel as string
- shared method kABBirthdayComponentsProperty as string
- shared method kABBirthdayProperty as string
- shared method kABBrotherLabel as string
- shared method kABCalendarURIsProperty as string
- shared method kABChildLabel as string
- shared method kABCreationDateProperty as string
- shared method kABDatabaseChangedExternallyNotification as string
- shared method kABDatabaseChangedNotification as string
- shared method kABDeletedRecords as string
- shared method kABDepartmentProperty as string
- shared method kABEmailHomeLabel as string
- shared method kABEmailMobileMeLabel as string
- shared method kABEmailProperty as string
- shared method kABEmailWorkLabel as string
- shared method kABFatherLabel as string
- shared method kABFirstNamePhoneticProperty as string
- shared method kABFirstNameProperty as string
- shared method kABFriendLabel as string
- shared method kABGroupNameProperty as string
- shared method kABHomeLabel as string
- shared method kABHomePageLabel as string
- shared method kABHomePageProperty as string
- shared method kABICQHomeLabel as string
- shared method kABICQInstantProperty as string
- shared method kABICQWorkLabel as string
- shared method kABInsertedRecords as string
- shared method kABInstantMessageProperty as string
- shared method kABInstantMessageServiceAIM as string
- shared method kABInstantMessageServiceFacebook as string
- shared method kABInstantMessageServiceGaduGadu as string
- shared method kABInstantMessageServiceGoogleTalk as string
- shared method kABInstantMessageServiceICQ as string
- shared method kABInstantMessageServiceJabber as string
- shared method kABInstantMessageServiceKey as string
- shared method kABInstantMessageServiceMSN as string
- shared method kABInstantMessageServiceQQ as string
- shared method kABInstantMessageServiceSkype as string
- shared method kABInstantMessageServiceYahoo as string
- shared method kABInstantMessageUsernameKey as string
- shared method kABJabberHomeLabel as string
- shared method kABJabberInstantProperty as string
- shared method kABJabberWorkLabel as string
- shared method kABJobTitleProperty as string
- shared method kABLastNamePhoneticProperty as string
- shared method kABLastNameProperty as string
- shared method kABMaidenNameProperty as string
- shared method kABManagerLabel as string
- shared method kABMiddleNamePhoneticProperty as string
- shared method kABMiddleNameProperty as string
- shared method kABMobileMeLabel as string
- shared method kABModificationDateProperty as string
- shared method kABMotherLabel as string
- shared method kABMSNHomeLabel as string
- shared method kABMSNInstantProperty as string
- shared method kABMSNWorkLabel as string
- shared method kABNicknameProperty as string
- shared method kABNoteProperty as string
- shared method kABOrganizationProperty as string
- shared method kABOtherDateComponentsProperty as string
- shared method kABOtherDatesProperty as string
- shared method kABOtherLabel as string
- shared method kABParentLabel as string
- shared method kABPartnerLabel as string
- shared method kABPersonFlags as string
- shared method kABPhoneHomeFAXLabel as string
- shared method kABPhoneHomeLabel as string
- shared method kABPhoneiPhoneLabel as string
- shared method kABPhoneMainLabel as string
- shared method kABPhoneMobileLabel as string
- shared method kABPhonePagerLabel as string
- shared method kABPhoneProperty as string
- shared method kABPhoneWorkFAXLabel as string
- shared method kABPhoneWorkLabel as string
- shared method kABRelatedNamesProperty as string
- shared method kABSisterLabel as string
- shared method kABSocialProfileProperty as string
- shared method kABSocialProfileServiceFacebook as string
- shared method kABSocialProfileServiceFlickr as string
- shared method kABSocialProfileServiceKey as string
- shared method kABSocialProfileServiceLinkedIn as string
- shared method kABSocialProfileServiceMySpace as string
- shared method kABSocialProfileServiceSinaWeibo as string
- shared method kABSocialProfileServiceTencentWeibo as string
- shared method kABSocialProfileServiceTwitter as string
- shared method kABSocialProfileServiceYelp as string
- shared method kABSocialProfileURLKey as string
- shared method kABSocialProfileUserIdentifierKey as string
- shared method kABSocialProfileUsernameKey as string
- shared method kABSpouseLabel as string
- shared method kABSuffixProperty as string
- shared method kABTitleProperty as string
- shared method kABUIDProperty as string
- shared method kABUpdatedRecords as string
- shared method kABURLsProperty as string
- shared method kABWorkLabel as string
- shared method kABYahooHomeLabel as string
- shared method kABYahooInstantProperty as string
- shared method kABYahooWorkLabel as string
- shared method searchElementForConjunction(conjunction as Integer, children() as ABSearchElementMBS) as ABSearchElementMBS
- shared method searchElementForGroupProperty(PropertyName as string, Label as string, Key as string, value as Variant, comparison as Integer) as ABSearchElementMBS
- shared method searchElementForPersonProperty(PropertyName as string, Label as string, Key as string, value as Variant, comparison as Integer) as ABSearchElementMBS
- shared method sharedAddressbook as ABAddressBookMBS
- shared method sharedAddressbookMT as ABAddressBookMBS
- 59 constants
This class has no sub classes.
Some methods using this class:
- ABGroupMBS.Constructor(addressBook as ABAddressBookMBS)
- ABPersonMBS.Constructor(addressBook as ABAddressBookMBS)
Some properties using for this class:
- ABMultiValueMBS.Addressbook as ABAddressBookMBS
- ABRecordMBS.Addressbook as ABAddressBookMBS
- ABSearchElementMBS.Addressbook as ABAddressBookMBS
Some examples using this class:
- /MacCocoa/Addressbook/Add address to person
- /MacCocoa/Addressbook/Addressbook Constants
- /MacCocoa/Addressbook/Easy search
- /MacCocoa/Addressbook/Extract Vcard
- /MacCocoa/Addressbook/Group members
- /MacCocoa/Addressbook/List Addresses
- /MacCocoa/Addressbook/Properties of ABPerson
- /MacCocoa/Addressbook/Search Person
- /MacFrameworks/Query Adressbook Permissions in background
- /Util/BugreporterKit/BugReporter
Blog Entries
- Saying goodbye to AddressBook framework
- Multithreaded plugin functions can increase speed of Xojo application
- Problems with killing Xojo threads with plugin calls.
- MBS Xojo / Real Studio Plugins, version 13.5pr1
- Using dash if to reduce app size by referencing less plugins
- Multithreaded plugin functions can increase speed of Real Studio application
- MBS Real Studio Plugins, version 12.3pr15
- Addressbook Permission Dialog
- MBS Real Studio Plugins, version 12.3pr2
- Addressbook classes updated
The items on this page are in the following plugins: MBS MacCocoa Plugin.