FrameToFrameMessage 接口
客户端发起的消息从一个插件框架发送到另一个插件框架。
签名
interface FrameToFrameMessage
属性签名
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-15。
[null,null,["最后更新时间 (UTC):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"]]