Stay organized with collections
Save and categorize content based on your preferences.
AudioDescriptionRequestedChangeListener
interface AudioDescriptionRequestedChangeListener
Listener for the audio description by default state. To listen for changes to the audio description by default state on the device, implement this interface and register it with the system by calling addAudioDescriptionRequestedChangeListener
.
Summary
Public methods |
abstract Unit |
Called when the audio description enabled state changes.
|
Public methods
onAudioDescriptionRequestedChanged
abstract fun onAudioDescriptionRequestedChanged(enabled: Boolean): Unit
Called when the audio description enabled state changes.
Parameters |
enabled |
Boolean: Whether audio description by default is enabled. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# AccessibilityManager.AudioDescriptionRequestedChangeListener\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAudioDescriptionRequestedChangeListener\n=======================================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/accessibility/AccessibilityManager.AudioDescriptionRequestedChangeListener \"View this page in Java\") \n\n```\ninterface AudioDescriptionRequestedChangeListener\n```\n\n|----------------------------------------------------------------------------------------------|\n| [android.view.accessibility.AccessibilityManager.AudioDescriptionRequestedChangeListener](#) |\n\nListener for the audio description by default state. To listen for changes to the audio description by default state on the device, implement this interface and register it with the system by calling [addAudioDescriptionRequestedChangeListener](/reference/kotlin/android/view/accessibility/AccessibilityManager#addAudioDescriptionRequestedChangeListener(java.util.concurrent.Executor,%20android.view.accessibility.AccessibilityManager.AudioDescriptionRequestedChangeListener)).\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onAudioDescriptionRequestedChanged](#onAudioDescriptionRequestedChanged(kotlin.Boolean))`(`enabled:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Called when the audio description enabled state changes. |\n\nPublic methods\n--------------\n\n### onAudioDescriptionRequestedChanged\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onAudioDescriptionRequestedChanged(enabled: Boolean): Unit\n```\n\nCalled when the audio description enabled state changes.\n\n| Parameters ||\n|-----------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `enabled` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): Whether audio description by default is enabled. |"]]