Contact
Encapsulates an address book contact.
Note: The Bluetooth stack of the remote Bluetooth device is responsible for providing contact information for Contacts which have the source property set to an instance of BluetoothDeviceContactSource. These contacts don't always have all the properties provided and remote devices can provide different information for a specific property. See for example:
Original Contact : givenName='' familyName='' companyName='Company' Synced from iPhone : givenName='Company' familyName='' companyName='' displayName='Company' Synced from Android: givenName='2' familyName='' companyName='' displayName='061-234-5679'
Constructors
Properties
The alternative sort key used when a list of contacts is sorted.
The name of the company associated with this contact.
The index of the default address. This is an index in the addresses list.
The index of the default phone number. This is an index of the phoneNumbers list.
Name of the contact.
Family name of the contact. This is the last name of a contact if the name is in Western style. See also FullNameStyle. This is an empty string if the contact does not have a family name set in the address book.
Given name of the contact. This is typically the contact's first name in Western names. See also FullNameStyle. This is an empty string if the contact does not have a given name set in the address book.
An image associated with this contact, if available, or null
if there is no image available.
List of phone numbers of the contact.
The primary sort key used when a list of contacts is sorted.
The source from which this contact originates, or null
if unknown.
Functions
displayName, givenName, familyName, companyName, primarySortKey and alternativeSortKey are masked when the Contact is printed.