setAttribute

Sets the value of an attribute in the registration.

Syntax 

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

Kind 

Static method of MCCordovaPlugin.

Parameters 

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

See Also