Partager via


TvInteractiveAppView.NotifyTvMessage(TVMessageType, Bundle) Method

Definition

This is called to notify the corresponding interactive app service when a new TV message is 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 type of message received, 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

This is called to notify the corresponding interactive app service when a new TV message is received.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.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