AnalyticsPlayerConfig
sealed interface AnalyticsPlayerConfig
Configuration for the analytics data collection feature on the Player.
Inheritors
| Enabled |
| Disabled |
Types
| Name | Summary |
|---|---|
| Disabled | data object Disabled : AnalyticsPlayerConfig Disables analytics data collection for the Player. |
| Enabled | data class Enabled(val analyticsConfig: AnalyticsConfig = AnalyticsConfig.Builder(licenseKey = DEFERRED_ANALYTICS_LICENSE).build(), val defaultMetadata: DefaultMetadata = DefaultMetadata.Builder().build()) : AnalyticsPlayerConfig Enables the analytics data collection feature for the Player. If no analyticsConfig is provided, analytics data collection is enabled with default configuration. In the default configuration the analytics license key is automatically fetch online, if one is associated and enabled for the used player license. |