Name | Description |
---|---|
contact | An object containing contact parameters. The object must be W3C Contact API specification compliant. 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:
1 2 3 4 | { onSuccess: function (contact) { ... }, onFailure: function (code, description) { ... } } |
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. | undefined |