setAttribute
Sets the value of an attribute in the registration.
MCCordovaPlugin.setAttribute(key, value, [successCallback], [errorCallback])
Static method of MCCordovaPlugin.
| Parameter | Type | Description |
|---|---|---|
key | string | The name of the attribute to be set in the registration. |
value | string | The value of the key attribute to be set in the registration. |
successCallback | function | |
successCallback.saved | boolean | Whether the attribute value was set in the registration. |
errorCallback | function |