Enables or disables Predictive Intelligence (PI) analytics in the native MobilePush SDK.
Syntax
MCCordovaPlugin.setPiAnalyticsEnabled(enabled, [successCallback], [errorCallback])
Kind
Static method of MCCordovaPlugin.
Parameters
| Parameter | Type | Description |
|---|---|---|
enabled |
boolean |
Whether to enable Predictive Intelligence (PI) analytics |
successCallback |
function |
|
errorCallback |
function |