VideoDownloadQualityChanged

data class VideoDownloadQualityChanged(val oldVideoQuality: VideoQuality?, val newVideoQuality: VideoQuality?) : SourceEvent

Emitted when current video download quality has changed.

Constructors

Link copied to clipboard
constructor(oldVideoQuality: VideoQuality?, newVideoQuality: VideoQuality?)

Properties

Link copied to clipboard
@SerialName(value = "targetQuality")
val newVideoQuality: VideoQuality?

The new quality or null if no quality is set

Link copied to clipboard
@SerialName(value = "sourceQuality")
val oldVideoQuality: VideoQuality?

The previous quality or null if no quality was set before