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)
- 9 shared methods
- shared method ABAddressBookErrorDomain as string
- shared method ABMultiValueIdentifiersErrorKey as string
- shared method addressBook as ABAddressBookMBS
- shared method GotSharedAddressbook as boolean
- 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
- 114 constants as shared methods
- 59 constants
This class has no sub classes.
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
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
Some related classes:
- class ABAccountMBS
- class ABGroupMBS
- class ABPersonMBS
- class ABRecordMBS
- class ABSearchElementMBS
- class CNContactStoreMBS
- class Database
- class NSAttributedStringMBS
- class NSErrorMBS
- class NSExceptionMBS
The items on this page are in the following plugins: MBS MacCocoa Plugin.