Compartir a través de


TvInputService.Session.NotifyTvMessage(TVMessageType, Bundle) Method

Definition

Sends the raw data from the received TV message as well as the type of message received.

[Android.Runtime.Register("notifyTvMessage", "(ILandroid/os/Bundle;)V", "GetNotifyTvMessage_ILandroid_os_Bundle_Handler", ApiSince=34)]
public virtual void NotifyTvMessage (Android.Media.TV.TVMessageType type, Android.OS.Bundle data);
[<Android.Runtime.Register("notifyTvMessage", "(ILandroid/os/Bundle;)V", "GetNotifyTvMessage_ILandroid_os_Bundle_Handler", ApiSince=34)>]
abstract member NotifyTvMessage : Android.Media.TV.TVMessageType * Android.OS.Bundle -> unit
override this.NotifyTvMessage : Android.Media.TV.TVMessageType * Android.OS.Bundle -> unit

Parameters

type
TVMessageType

The of message that was sent, such as TvInputManager#TV_MESSAGE_TYPE_WATERMARK

data
Bundle

The raw data of the message. The bundle keys are: TvInputManager#TV_MESSAGE_KEY_STREAM_ID, TvInputManager#TV_MESSAGE_KEY_GROUP_ID, TvInputManager#TV_MESSAGE_KEY_SUBTYPE, TvInputManager#TV_MESSAGE_KEY_RAW_DATA. See TvInputManager#TV_MESSAGE_KEY_SUBTYPE for more information on how to parse this data.

Attributes

Remarks

Sends the raw data from the received TV message as well as the type of message received.

Java documentation for android.media.tv.TvInputService.Session.notifyTvMessage(int, android.os.Bundle).

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