getDeviceId

Returns the deviceId used by the MobilePush SDK.

Syntax 

MCCordovaPlugin.getDeviceId(successCallback, [errorCallback])

Kind 

Static method of MCCordovaPlugin.

Parameters 

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

See Also