PlayerConfig
data class PlayerConfig(val licenseKey: String? = null, val isLoopEnabled: Boolean = false, 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 isNeedToTryOneSecondWorkaround: Boolean = false, val isAsyncValidateLicense: Boolean = false, val subtitleDisplayDelayMs: Long = 0, val playLogger: PlayLogger? = null, val userMap: Map<String, String>? = null, val customObject: Any? = null, val serviceConfig: PlayerConfig.ServiceConfig = ServiceConfig(licenseVersion = ServiceConfig.LicenseVersion.V1)) : Parcelable
Constructors
Link copied to clipboard
constructor(licenseKey: String? = null, isLoopEnabled: Boolean = false, trackSelectionController: UniTrackSelectionController? = null, preferredTextLanguage: String? = null, uniLoadControl: UniLoadControl? = null, isTunnelPlaybackEnabled: Boolean = false, isHdrEnabled: Boolean = false, isAudioFocusEnabled: Boolean = true, isNeedToTryOneSecondWorkaround: Boolean = false, isAsyncValidateLicense: Boolean = false, subtitleDisplayDelayMs: Long = 0, playLogger: PlayLogger? = null, userMap: Map<String, String>? = null, customObject: Any? = null, serviceConfig: PlayerConfig.ServiceConfig = ServiceConfig(licenseVersion = ServiceConfig.LicenseVersion.V1))
Types
Link copied to clipboard
data class ServiceConfig(val licenseVersion: PlayerConfig.ServiceConfig.LicenseVersion) : Parcelable
Properties
Link copied to clipboard
In-memory only — NOT carried across IPC boundaries. For background services, set via com.blendvision.player.playback.presentation.UniPlayer.setCustomObject post-bind.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
In-memory only — NOT carried across IPC boundaries. See trackSelectionController for details; for background services use com.blendvision.player.playback.presentation.UniPlayer.setPlayLogger post-bind.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
In-memory only — NOT carried across IPC boundaries (e.g. com.blendvision.player.playback.service.ServicePlayerConnector). When this config crosses a process-like boundary, this field will be null on the receiving side. For background playback services, register via com.blendvision.player.playback.presentation.UniPlayer.setPlayLogger after bind completes instead.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(licenseKey: String? = null, isLoopEnabled: Boolean = false, trackSelectionController: UniTrackSelectionController? = null, preferredTextLanguage: String? = null, uniLoadControl: UniLoadControl? = null, isTunnelPlaybackEnabled: Boolean = false, isHdrEnabled: Boolean = false, isAudioFocusEnabled: Boolean = true, isNeedToTryOneSecondWorkaround: Boolean = false, isAsyncValidateLicense: Boolean = false, subtitleDisplayDelayMs: Long = 0, playLogger: PlayLogger? = null, userMap: Map<String, String>? = null, customObject: Any? = null, serviceConfig: PlayerConfig.ServiceConfig = ServiceConfig(licenseVersion = ServiceConfig.LicenseVersion.V1)): PlayerConfig
Link copied to clipboard