initSRGAnalytics

Initializes the SRGAnalytics instance.

This method should be called only once, typically in your Application's onCreate() method. It initializes the various analytics services like ComScore and Commanders Act based on the provided configuration.

Parameters

config

The AnalyticsConfig object containing the configuration for the analytics services.

Throws

If the SRGAnalytics instance is already initialized.