Partager via


CaptioningManager.AddCaptioningChangeListener Method

Definition

Adds a listener for changes in the user's preferred captioning enabled state and visual properties.

[Android.Runtime.Register("addCaptioningChangeListener", "(Landroid/view/accessibility/CaptioningManager$CaptioningChangeListener;)V", "GetAddCaptioningChangeListener_Landroid_view_accessibility_CaptioningManager_CaptioningChangeListener_Handler")]
public virtual void AddCaptioningChangeListener (Android.Views.Accessibility.CaptioningManager.CaptioningChangeListener listener);
[<Android.Runtime.Register("addCaptioningChangeListener", "(Landroid/view/accessibility/CaptioningManager$CaptioningChangeListener;)V", "GetAddCaptioningChangeListener_Landroid_view_accessibility_CaptioningManager_CaptioningChangeListener_Handler")>]
abstract member AddCaptioningChangeListener : Android.Views.Accessibility.CaptioningManager.CaptioningChangeListener -> unit
override this.AddCaptioningChangeListener : Android.Views.Accessibility.CaptioningManager.CaptioningChangeListener -> unit

Parameters

listener
CaptioningManager.CaptioningChangeListener

the listener to add

Attributes

Remarks

Java documentation for android.view.accessibility.CaptioningManager.addCaptioningChangeListener(android.view.accessibility.CaptioningChangeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to