---
updatedAt: 2026-06-12T07:21:09.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/playback/llms.txt
---

# AudioLabeler

com.bitmovin.player.api.media.audio

# AudioLabeler

fun interface AudioLabeler

Can be implemented and added to the LabelingConfig to label [AudioTrack](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-media-audio-audio-track)s.

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

## Functions

| Name          | Summary                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| getAudioLabel | abstract fun getAudioLabel(audioTrack: [AudioTrack](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-media-audio-audio-track)): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?<br>Is called with an [AudioTrack](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-media-audio-audio-track) to assign a new label to it. If `null` is returned, the label of audioTrack will not be changed. |