mobileGetContactData | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Allows the user to read contact information from the contacts list. | ||||||
Introduced | 5.5.1 | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: mobilePickDate, mobileRemoveContact, mobilePickMedia, mobilePickContact, mobileShowContact, mobilePick, mobileAddContact, mobileFindContact, mobileCreateContact | ||||||
Description | Allows the user to extract contact data information from the contact list, based on a contact ID. The information returned is stored in a nested array as described below. Person Information - The personal information of the contact is stored at the top level
of the array and has the following keys:
- "firstname" - The first name. E-Mail Addresses - The e-mail addresses of the contact are stored in integer indexed
arrays starting at one under the key email. This allows any number of e-mail addresses
to be stored against a particular category. There are three categories of e-mail address:
- "home" - The home e-mail address. Telephone Numbers - The telephone numbers of the contact are stored in integer indexed
arrays starting at one under the key phone. This allows any number of telephone numbers
to be stored against a particular category. There are ten categories of phone numbers:
- "mobile" - The mobile telephone number. Address - Addresses of the contact are stored as sub arrays under the key address.
There are three categories of address:
- "home" - The home address. Address Subkey - Each address category is an integer indexed array, starting at one
under the key address. This allows any number of a addresses to be stored against a
particular category:
- "street" - The address street. Use the mobileGetContactData function to read contact data from the contact list. |