getDeviceId

Returns the deviceId used by the MobilePush SDK.

MCCordovaPlugin.getDeviceId(successCallback, [errorCallback])

Static method of MCCordovaPlugin.

ParameterTypeDescription
successCallbackfunction
successCallback.deviceIdstringThe deviceId used by Engagement messaging.
errorCallbackfunction