AudioDownloadQualityChanged

data class AudioDownloadQualityChanged(val oldAudioQuality: AudioQuality?, val newAudioQuality: AudioQuality?) : SourceEvent

Emitted when the current audio download quality has changed.

Constructors

Link copied to clipboard
constructor(oldAudioQuality: AudioQuality?, newAudioQuality: AudioQuality?)

Properties

Link copied to clipboard
@SerialName(value = "targetQuality")
val newAudioQuality: AudioQuality?

The new quality or null if no quality is set

Link copied to clipboard
@SerialName(value = "sourceQuality")
val oldAudioQuality: AudioQuality?

The previous quality or null if no quality was set before