This method pulls the latest contacts from the device into local memory
This method is called to pull a version of the device contact database locally. Use this method first to have a local copy of contact data to access using the getContactList or getContactData methods so those methods won't be reading an uninitialized cache. It fires an event to signify when the local list has been synced up with the device database.
- Apple iOS
- Google Android
- Microsoft Windows 8 - BETA
- Microsoft Windows Phone 8 - BETA
- intel.xdk.contacts.get: This event is fired when the device's local contact list has been fully retrieved/refreshed from the device contact database.
document.addEventListener('intel.xdk.contacts.get', contactsReceived, false); intel.xdk.contacts.getContacts();