Sets the value of an attribute in the registration.
Syntax
MCCordovaPlugin.setAttribute(key, value, [successCallback], [errorCallback])
Kind
Static method of MCCordovaPlugin.
Parameters
| 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 |