Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
  • TOC

Available types

  • AudioContentType
  • AudioUsageType
  • AudioStatus
  • AudioVolumeType
  • AudioVolumeFlags
  • AudioRole
  • AudioDevice
  • AudioTelephonyMode
  • AudioEvent
  • AudioSampleRate
  • AudioChannelMask
  • AudioSampleFormat
  • AudioFlags
  • AudioConfig
  • AudioAttributes
  • AudioDeviceInfo
  • AudioSource
  • AudioSystemSound
  • SampleLayout
  • SinkFormatsSelectionPolicy
  • StreamDuckingPolicy
  • AudioPlaybackEvent
  • DuckingMode
  • AudioFocusStatus
  • AudioFocusAttributes
  • AudioFocusChange

AudioContentType

Description

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 Values

Possible mappings

Note: For timed audio playback (synchronized audio), only CONTENT_TYPE_MUSIC and CONTENT_TYPE_MOVIE are supported when used with USAGE_MEDIA.

AudioUsageType

Description

Each value determines a different usage type of the playback stream. The usage type affects:
  • Audio focus behavior (priority, ducking)
  • Volume curve mapping
  • Routing decisions
  • Interaction with other audio streams

Possible Values

Possible Mappings

Notes:
  • Higher priority audio usage types can interrupt lower priority ones
  • When interrupted, streams can be:
    • Ducked (volume reduced)
    • Paused
    • Stopped
    • Released
  • Focus can be explicitly managed using AudioFocusSession

AudioStatus

Description

Represents different statuses that can occur when an audio API call is made. Each value represents whether a call was successful or returned an error.

Possible Values

AudioVolumeType

Description

Each value represents a different volume type like media, voice call, navigation, etc. For usage see the volume functions in:

AudioManager - VolumeAsync

AudioPlaybackStream - VolumeAsync

Possible Values

AudioVolumeFlags

Description

Each value represents a different type of audio volume flag. If SHOW_UI is set, a separate panel for volume control will appear. If PLAY_NOTIFICATION is set, a tone will get played if volume either increases or decreases.

Possible Values

AudioRole

Description

The possible role of an audio device

Possible Values

AudioDevice

Description

Available audio devices to be used

Possible Values

AudioTelephonyMode

Description

Available Telephony modes

Possible Values

AudioEvent

Description

Each value represents a different type of audio change event that can occur, for example a VOLUME_UPDATE happens whenever volume is increased or decreased. These events will be sent to the registered callback.

Possible Values

AudioSampleRate

Description

Available values to define the sample rate used by playback streams

Possible Values

AudioChannelMask

Description

Available channels to define the mask used by playback streams

Possible Values

AudioSampleFormat

Description

Available audio sample formats

Possible Values

AudioFlags

Description

Each value determines a different flag for the playback stream.

Possible Values

AudioConfig

Description

Determines the audio configuration to build the audio playback stream with, affects things like audio sample rate, and format.

Possible Values

AudioAttributes

Description

Determines the audio attributes to build the audio playback stream with, affects things like content type, usage, and flags.

Possible Values

AudioDeviceInfo

Description

Data type which contains the description of an audio device

Possible Values

AudioSource

Description

Possible audio sources

Possible Values

AudioSystemSound

Description

Available system sound types to be used

Possible Values

SampleLayout

Description

Available audio sample layouts

Possible Values

SinkFormatsSelectionPolicy

Description

Available audio mode for hdmi output

Possible Values

StreamDuckingPolicy

Description

Available audio ducking policies

Possible Values

AudioPlaybackEvent

Description

Possible playback events used by the playback builder

Possible Values

DuckingMode

Description

Possible modes to define the audio ducking level.

Possible Values

AudioFocusStatus

Description

Represents different statuses that can occur when an audio focus call is made. Each value represents whether a call was successful or returned an error.

Possible Values

AudioFocusAttributes

Description

Each value represents behavior for audio focus to be handled when focus is requested by a session.

Possible Values

AudioFocusChange

Description

Each value represents a different type of audio focus change event that can occur, for example GRANTED represents when audio focus has been granted to a source.

Possible Values


Last modified on October 2, 2025