mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
docs(calldirectory): fix typo (#2478)
I have spotted some typos and added an example for reload.
This commit is contained in:
parent
1bfe82959b
commit
50c8c154e3
@ -9,7 +9,7 @@ export interface CallDirectoryItem {
|
|||||||
/**
|
/**
|
||||||
* @name Call Directory
|
* @name Call Directory
|
||||||
* @description
|
* @description
|
||||||
* This plugin can add phone numbers to an Callkit call directory extension. Call `reloadExtension` after using `addentIfication` and `removeIdentification`
|
* This plugin can add phone numbers to an Callkit call directory extension. Call `reloadExtension` after using `addIdentification` and `removeIdentification`
|
||||||
* to process the changes in the call directory extension.
|
* to process the changes in the call directory extension.
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
@ -19,14 +19,15 @@ export interface CallDirectoryItem {
|
|||||||
*
|
*
|
||||||
* constructor(private callDirectory: CallDirectory) { }
|
* constructor(private callDirectory: CallDirectory) { }
|
||||||
*
|
*
|
||||||
* ...
|
|
||||||
*
|
|
||||||
*
|
*
|
||||||
* let items = [{label: "Hello", number: "123"}];
|
* let items = [{label: "Hello", number: "123"}];
|
||||||
* this.callDirectory.addIdentification(items)
|
* this.callDirectory.addIdentification(items)
|
||||||
* .then((res: any) => console.log(res))
|
* .then((res: any) => console.log(res))
|
||||||
* .catch((error: any) => console.error(error));
|
* .catch((error: any) => console.error(error));
|
||||||
*
|
*
|
||||||
|
* this.callDirectory.reloadExtension()
|
||||||
|
* .then(res: string) => console.log(res))
|
||||||
|
* .catch((error: any) => console.error(error));
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@Plugin({
|
@Plugin({
|
||||||
|
Loading…
Reference in New Issue
Block a user