Udostępnij za pośrednictwem


CaptioningManager.CaptioningChangeListener.OnEnabledChanged(Boolean) Method

Definition

Called when the captioning enabled state changes.

[Android.Runtime.Register("onEnabledChanged", "(Z)V", "GetOnEnabledChanged_ZHandler")]
public virtual void OnEnabledChanged (bool enabled);
[<Android.Runtime.Register("onEnabledChanged", "(Z)V", "GetOnEnabledChanged_ZHandler")>]
abstract member OnEnabledChanged : bool -> unit
override this.OnEnabledChanged : bool -> unit

Parameters

enabled
Boolean

the user's new preferred captioning enabled state

Attributes

Remarks

Called when the captioning enabled state changes.

Java documentation for android.view.accessibility.CaptioningManager.CaptioningChangeListener.onEnabledChanged(boolean).

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