awesome-cordova-plugins/dist/plugins/contacts.d.ts

23 lines
571 B
TypeScript
Raw Normal View History

2016-02-06 05:06:03 +08:00
/**
* Access and manage Contacts on the device.
*
* Requires plugin: `cordova-plugin-contacts`
* For full info, please see the [Cordova Contacts Docs](https://github.com/apache/cordova-plugin-contacts)
*
* @usage
*
* ```js
* Contacts.save({
* displayName: "Mr. Ionitron"
* }).then((contact) => {}, (err) => {})
* ```
*
* See the `save()` docs for a full list of fields.
*
*/
2015-12-01 01:09:50 +08:00
export declare class Contacts {
static create(fields: string[], options: any): void;
static find(fields: string[], options: any): void;
static pickContact(): void;
}