Added in API level 33

AccessibilityManager.AudioDescriptionRequestedChangeListener


public static interface AccessibilityManager.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 AccessibilityManager.addAudioDescriptionRequestedChangeListener(Executor, AudioDescriptionRequestedChangeListener).

Summary

Public methods

abstract void onAudioDescriptionRequestedChanged(boolean enabled)

Called when the audio description enabled state changes.

Public methods

onAudioDescriptionRequestedChanged

Added in API level 33
public abstract void onAudioDescriptionRequestedChanged (boolean enabled)

Called when the audio description enabled state changes.

Parameters
enabled boolean: Whether audio description by default is enabled.