다음을 통해 공유


TvView.SetTvMessageEnabled(TVMessageType, Boolean) Method

Definition

Enables or disables TV message detection in the stream of the bound TV input.

[Android.Runtime.Register("setTvMessageEnabled", "(IZ)V", "GetSetTvMessageEnabled_IZHandler", ApiSince=34)]
public virtual void SetTvMessageEnabled (Android.Media.TV.TVMessageType type, bool enabled);
[<Android.Runtime.Register("setTvMessageEnabled", "(IZ)V", "GetSetTvMessageEnabled_IZHandler", ApiSince=34)>]
abstract member SetTvMessageEnabled : Android.Media.TV.TVMessageType * bool -> unit
override this.SetTvMessageEnabled : Android.Media.TV.TVMessageType * bool -> unit

Parameters

type
TVMessageType

The type of message received, such as TvInputManager#TV_MESSAGE_TYPE_WATERMARK

enabled
Boolean

true if you want to enable TV message detection false otherwise.

Attributes

Remarks

Enables or disables TV message detection in the stream of the bound TV input.

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