AudioContentType
Enum for audio content type
Each value determines a different content type for the playback stream. The content type helps the audio system understand what kind of content is being played, which affects how it should be handled in terms of audio focus and routing.
Possible mappings
| Content Type | Value | Description | Focus Behavior | Typical Usage |
|---|---|---|---|---|
| CONTENT_TYPE_NONE | 0 | Unspecified content type | Default focus handling | Default fallback when content type is unknown |
| CONTENT_TYPE_SPEECH | 1 | Human speech content | High priority for focus | Voice calls, voice assistants |
| CONTENT_TYPE_MUSIC | 2 | Music content | Standard media focus, supports timed audio | Music streaming, audio players |
| CONTENT_TYPE_MOVIE | 3 | Movie/video content | Standard media focus, supports timed audio | Video players, streaming apps |
| CONTENT_TYPE_SONIFICATION | 4 | System sounds and UI feedback | Low priority focus | UI sounds, alerts |
| CONTENT_TYPE_GAME | 5 | Game audio content | Standard media focus | Games |
| CONTENT_TYPE_TONE | 6 | Simple tones | Low priority focus | Alert tones, notifications |
Note: For timed audio playback (synchronized audio), only CONTENT_TYPE_MUSIC and CONTENT_TYPE_MOVIE are supported when used with USAGE_MEDIA.
Enumeration Members
CONTENT_TYPE_NONE
CONTENT_TYPE_NONE:
0
CONTENT_TYPE_SPEECH
CONTENT_TYPE_SPEECH:
1
CONTENT_TYPE_MUSIC
CONTENT_TYPE_MUSIC:
2
CONTENT_TYPE_MOVIE
CONTENT_TYPE_MOVIE:
3
CONTENT_TYPE_SONIFICATION
CONTENT_TYPE_SONIFICATION:
4
CONTENT_TYPE_GAME
CONTENT_TYPE_GAME:
5
CONTENT_TYPE_TONE
CONTENT_TYPE_TONE:
6
Last updated: Jul 22, 2026

