---
updatedAt: 2026-06-12T07:17:12.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/playback/llms.txt
---

# AnalyticsPlayerConfig

com.bitmovin.player.api.analytics

# AnalyticsPlayerConfig

sealed interface AnalyticsPlayerConfig

Configuration for the analytics data collection feature on the [Player](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-player).

#### Inheritors

|          |
| -------- |
| Enabled  |
| Disabled |

## Types

| Name     | Summary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Disabled | data object Disabled : AnalyticsPlayerConfig<br>Disables analytics data collection for the [Player](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-player).                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Enabled  | data class Enabled(val analyticsConfig: AnalyticsConfig = AnalyticsConfig.Builder(licenseKey = DEFERRED\_ANALYTICS\_LICENSE).build(), val defaultMetadata: DefaultMetadata = DefaultMetadata.Builder().build()) : AnalyticsPlayerConfig<br>Enables the analytics data collection feature for the [Player](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-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. |