setAttribute

Sets the value of an attribute in the registration.

MCCordovaPlugin.setAttribute(key, value, [successCallback], [errorCallback])

Static method of MCCordovaPlugin.

ParameterTypeDescription
keystringThe name of the attribute to be set in the registration.
valuestringThe value of the key attribute to be set in the registration.
successCallbackfunction
successCallback.savedbooleanWhether the attribute value was set in the registration.
errorCallbackfunction