enablePiAnalytics

abstract fun enablePiAnalytics()

This method allows you to activate the collection of Pi Analytics through the SDK. By default, the state is set to @UNKNOWN. If analytics are enabled using the configuration method @setPiAnalyticsEnabled, the SDK will transmit the Pi Analytics. In case the configuration is disabled, you can enable it by invoking this method.