setPiAnalyticsEnabled

Enables or disables Predictive Intelligence (PI) analytics in the native MobilePush SDK.

MCCordovaPlugin.setPiAnalyticsEnabled(enabled, [successCallback], [errorCallback])

Static method of MCCordovaPlugin.

ParameterTypeDescription
enabledbooleanWhether to enable Predictive Intelligence (PI) analytics
successCallbackfunction
errorCallbackfunction