Source

fun Source(sourceConfig: SourceConfig, analyticsConfig: AnalyticsSourceConfig = AnalyticsSourceConfig.Enabled()): Source

Creates and configures a Source instance.

The AnalyticsSourceConfig can be used to further customize the analytics data collection. In case that analytics data collection is disabled on the Player, the analyticsConfig has no effect. Per default analytics data collection is configured with a default SourceMetadata.