showContactsParams

Dictionary of options for the Titanium.Contacts.showContacts method.

  • 0.8
  • 0.8
  • 0.8

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

showContactsParams
: Boolean
Determines whether to animate the show/hide of the contacts picker (iPhone, iPad only.) ...

Determines whether to animate the show/hide of the contacts picker (iPhone, iPad only.)

Default: true

showContactsParams
cancel : Callback<Object>

Function to call when selection is canceled.

Function to call when selection is canceled.

showContactsParams
: String[]
Field names to show when selecting properties. ...

Field names to show when selecting properties. By default, shows all available.

showContactsParams
: Callback<Object>
Function to call when a person is selected. ...

Function to call when a person is selected. Must not be used with selectedProperty property.

showContactsParams
: Callback<Object>
Function to call when a property is selected. ...

Function to call when a property is selected. Must not be used with selectedPerson property. Note: If ringtone or texttone is selected, null values are returned, since these are unsupported by Apple. Since iOS 9.0, there is a native apple issue whereby it may return null if the birthday property is selected on certain device models. The callback contains the selected property and a 'person' object of type Titanium.Contacts.Person. Since iOS 9.0, apple only returns the person object with partial information. Currently it is known to at least contain the selected property and fullName.

  • 0.8
  • 0.8