Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Develop
Test
Publish
Monetize
Engage users
Device specifications
Resources
Skip to main content
As a developer of third party apps, you might want to be able to read and subscribe to the audio description (AD) and closed caption (CC) settings so that you can tell if users have enabled them on their device. This page discusses how your Fire app can read and subscribe to these settings.

Audio description

Audio description is a secure setting that you can add in through Fire OS.

Implement audio description

The key for this setting is defined as accessibility_audio_descriptions_enabled. The value is only added to secure settings when the user toggles it on for the first time. The default value is 0 (off), but after being set up and toggled on, the value changes to 1 (on).

Read the AD setting

Since this is a regular secure setting, you can read it through Settings.Secure.getInt(ContentResolver cr, String name, int def). For more details, see the getInt function. Here is a code example for reading the AD setting:

Subscribe to the AD setting

You can subscribe to the AD setting by creating and registering a ContentObserver for it. For more details, see the ContentObserver API reference. Here is a code example for subscribing to changes in the AD setting:

Closed caption

Closed caption is also stored by a secure setting from the Android Open Source Project (AOSP).

Implement closed caption

Use CaptioningManager to read and subscribe to the enablement setting of whether CC is enabled or not. To retrieve a CaptioningManager, use get SystemService(Context.CAPTIONING_SERVICE). For more details, see the CaptioningManager class and the CAPTIONING_SERVICE Context constant.

Read the CC setting

To read the CC setting, use CaptioningManager to call isEnabled(). The default value is false (off). Here is a code example for reading (and logging) the CC setting:

Subscribe to the CC setting

To subscribe to the CC setting, set up and add a CaptioningChangeListener to the CaptioningManager. For more details, see the addCaptioningChangeListener function. The public method, onEnabledChanged(boolean enabled) is called when the CC setting is changed. Here is a code example for subscribing to changes in the CC setting:
Last modified on August 22, 2025