AudioChanged

data class AudioChanged(oldAudioTrack: AudioTrack?, newAudioTrack: AudioTrack?) : SourceEvent

Emitted when the selected AudioTrack changed.

Constructors

AudioChanged
Link copied to clipboard
fun AudioChanged(oldAudioTrack: AudioTrack?, newAudioTrack: AudioTrack?)

Properties

newAudioTrack
Link copied to clipboard
@SerializedName(value = targetAudio)
val newAudioTrack: AudioTrack?
The AudioTrack after the change.
oldAudioTrack
Link copied to clipboard
@SerializedName(value = sourceAudio)
val oldAudioTrack: AudioTrack?
The AudioTrack before the change.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.