AudioChanged

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

Emitted when the selected AudioTrack changed.

Deprecated. Use SourceEvent.AudioTrackChanged instead.

Constructors

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

Properties

Link copied to clipboard
@SerializedName(value = "targetAudio")
val newAudioTrack: AudioTrack?

The AudioTrack after the change.

Link copied to clipboard
@SerializedName(value = "sourceAudio")
val oldAudioTrack: AudioTrack?

The AudioTrack before the change.