mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
23 lines
571 B
TypeScript
23 lines
571 B
TypeScript
/**
|
|
* 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.
|
|
*
|
|
*/
|
|
export declare class Contacts {
|
|
static create(fields: string[], options: any): void;
|
|
static find(fields: string[], options: any): void;
|
|
static pickContact(): void;
|
|
}
|