Name | Description |
---|---|
contact | An object containing contact parameters. The object must be compliant with the 2013 definition of the W3C Contacts Manager API specification. However, certain limitations apply, listed in the save article. |
callbacks | An object containing two callback methods listed below. |
The remove
listener's callbacks
object can
be structured as follows:
{ onSuccess: function () { ... }, onFailure: function (error) { ... } }
Name | Description | Return type |
---|---|---|
onSuccess | Passed to notify that the removal process completed without issues. | undefined |
onFailure | Passed to notify that the process could not be completed. It passes an object that contains a description of an error, as listed in the Constants table of the Contacts article.
{ code, description }
|
undefined |