create
Deprecated
From Java use the `SourceBuilder` instead. From Kotlin use the `Source` factory function instead.
Replace with
import com.bitmovin.player.api.source.Source
Content copied to clipboard
Source(sourceConfig, AnalyticsSourceConfig.Enabled(sourceMetadata))
Content copied to clipboard
Creates a Source configured via the provided SourceConfig, with analytics metadata configured via the provided sourceMetadata.
For further interaction with source analytics the SourceAnalyticsApi can be use. Provides the same functionality as Source.create with a more convenient style when used from Java.