TvInteractiveAppView.NotifyTvMessage(TVMessageType, Bundle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此通知是為了在收到新的電視訊息時通知相應的互動應用程式服務。
[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
參數
- type
- TVMessageType
接收到的訊息類型,例如 TvInputManager#TV_MESSAGE_TYPE_WATERMARK
- data
- Bundle
訊息的原始資料。 組合鍵為: TvInputManager#TV_MESSAGE_KEY_STREAM_ID, TvInputManager#TV_MESSAGE_KEY_GROUP_ID, TvInputManager#TV_MESSAGE_KEY_SUBTYPE, TvInputManager#TV_MESSAGE_KEY_RAW_DATA, 。
請參見 TvInputManager#TV_MESSAGE_KEY_SUBTYPE 更多關於如何解析這些資料的資訊。
- 屬性
備註
此通知是為了在收到新的電視訊息時通知相應的互動應用程式服務。
Java 文件 android.media.tv.interactive.TvInteractiveAppView.notifyTvMessage(int, android.os.Bundle)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。