FrameToFrameMessage 介面
從某個外掛程式畫面傳送至其他用戶端啟動的訊息。
簽名
interface FrameToFrameMessage
屬性簽章
名稱 |
說明 |
originator |
傳送訊息的擴充功能框架。 |
payload |
訊息酬載。由來源欄位指定的框架中執行的擴充功能所設定的值。這個字串的長度不得超過 1,000,000 個半形字元。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-15 (世界標準時間)。
[null,null,["上次更新時間:2024-10-15 (世界標準時間)。"],[[["Enables communication between different add-on frames within a web page."],["Messages contain the sender's frame (originator) and a payload (data)."],["Payload is a string limited to under 1,000,000 characters, set by the sending add-on."]]],["The core content defines a `FrameToFrameMessage` interface for communication between add-on frames. It outlines that a message has two key components: `originator`, which identifies the sending add-on frame, and `payload`, which contains the message content. The `payload` is a string with a maximum length of 1,000,000 characters, defined by the sender frame. This interface describes a client-initiated message transfer structure.\n"]]