Google TV Anymote協議定義了可以發送到GTV設備的多個請求。Anymote協議數據消息使用
我已經使用fling事件,它基本上被翻譯成GTV上的意圖,其中在請求消息中指定的URI是意圖中的URI。
我不確定在哪裏使用data事件,或者在發送到GTV設備時如何解釋它。
是否可以發送一些任意數據到特定的應用程序(設置過濾器)?如果不是,它用於什麼?它是否也轉化爲意圖?
以下是消息的定義:
// Sends a string and a type to interpret this string
message Data {
// The type of data sent to the box
required string type = 1;
// The data sent to the box
required string data = 2;
}