AudioTrackChanged

data class AudioTrackChanged(val oldAudioTrack: AudioTrack?, val newAudioTrack: AudioTrack?) : SourceEvent

Emitted when the selected AudioTrack changed.

Constructors

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

Properties

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

The AudioTrack after the change.

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

The AudioTrack before the change.