setContactKey
Sets the contact key for the device's user.
MCCordovaPlugin.setContactKey(contactKey, [successCallback], [errorCallback])
Static method of MCCordovaPlugin.
| Parameter | Type | Description |
|---|---|---|
contactKey | string | The value to be set as the contact key of the device's user. |
successCallback | function | |
successCallback.saved | boolean | Whether the value passed in for contactKey was saved in the registration. |
errorCallback | function |