AudioLabeler

fun interface AudioLabeler

Can be implemented and added to the LabelingConfig to label AudioTracks.

Applied to all audio tracks for local playback and cast sessions.

Functions

Link copied to clipboard
abstract fun getAudioLabel(audioTrack: AudioTrack): String?

Is called with an AudioTrack to assign a new label to it. If null is returned, the label of audioTrack will not be changed.