Added in API level 33
AudioDescriptionRequestedChangeListener
interface AudioDescriptionRequestedChangeListener
android.view.accessibility.AccessibilityManager.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 |
onAudioDescriptionRequestedChanged(enabled: Boolean) Called when the audio description enabled state changes. |
Public methods
onAudioDescriptionRequestedChanged
Added in API level 33
abstract fun onAudioDescriptionRequestedChanged(enabled: Boolean): Unit
Called when the audio description enabled state changes.
Parameters | |
---|---|
enabled |
Boolean: Whether audio description by default is enabled. |