Share via


TvView.SetCaptionEnabled(Boolean) Method

Definition

Enables or disables the caption in this TvView.

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

Parameters

enabled
Boolean

true to enable, false to disable.

Attributes

Remarks

Enables or disables the caption in this TvView.

Note that this method does not take any effect unless the current TvView is tuned.

Java documentation for android.media.tv.TvView.setCaptionEnabled(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