contacts Object

Access the default contacts database on a device from an application

Description:

The contacts object gives programmers access to the default contacts database on the native device. The application must be built with the appropriate permissions in order for this capability to work. Each contact object has the following attributes: id, first, last, name (an array of names), phones (an array of phone numbers), emails (an array of email addresses), addresses (an array of addresses in the following format: { street:'%@', city:'%@', state:'%@', zip:'%@', country:'%@' })

Methods:

Events:

如需更全面地了解编译器优化,请参阅优化注意事项