Skip to main content

PlayerConfig

API Index/PlayerConfig

PlayerConfig

[androidJvm]
data class PlayerConfig (
val license: String? = null,
val isLoopEnabled: Boolean = false,
val downloader: Downloader? = null,
val trackSelectionController: [UniTrackSelectionController]? = null,
val preferredTextLanguage: String? = null,
val uniLoadControl: [UniLoadControl]? = null,
val isTunnelPlaybackEnabled: Boolean = false,
val isHdrEnabled: Boolean = false,
val isAudioFocusEnabled: Boolean = true,
val playLogger: PlayLogger? = null,
val userMap: Map<String, String>? = null,
val customObject: Any? = null)

Properties

NameSummary
customObject[androidJvm]val customObject: Any? = null
downloader[androidJvm]val downloader: Downloader? = null
isAudioFocusEnabled[androidJvm]val isAudioFocusEnabled: Boolean = true
isHdrEnabled[androidJvm]val isHdrEnabled: Boolean = false
isLoopEnabled[androidJvm]val isLoopEnabled: Boolean = false
isTunnelPlaybackEnabled[androidJvm]val isTunnelPlaybackEnabled: Boolean = false
license[androidJvm]val license: String? = null
playLogger[androidJvm]val playLogger: PlayLogger? = null
preferredTextLanguage[androidJvm]val preferredTextLanguage: String? = null
[trackSelectionController][androidJvm]val [trackSelectionController]: [UniTrackSelectionController]? = null
[uniLoadControl][androidJvm]val [uniLoadControl]: [UniLoadControl]? = null
userMap[androidJvm]val userMap: Map<String, String>? = null