setPiAnalyticsEnabled

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

Syntax 

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

Kind 

Static method of MCCordovaPlugin.

Parameters 

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