Interface Contact

A contact with the set of fields the OS made available to the host app.

id is a stable identifier you can keep and later pass to openContact or deleteContact. It abstracts the per-OS identity: on Android it is the contact's LOOKUP_KEY (survives sync/aggregation changes), and on iOS it is the CNContact.identifier.

Hierarchy

  • Contact

Properties

id: string
displayName: string
phones: ContactPhone[]
emails: ContactEmail[]
addresses: ContactAddress[]
structuredName?: null | ContactStructuredName
organization?: null | ContactOrganization

Generated using TypeDoc