FrameToFrameMessage ของอินเทอร์เฟซ
ข้อความที่เริ่มต้นโดยไคลเอ็นต์ที่ส่งจากเฟรมส่วนเสริมหนึ่งไปยังอีกเฟรมหนึ่ง
ลายเซ็น
interface FrameToFrameMessage
ลายเซ็นของพร็อพเพอร์ตี้
ชื่อ |
คำอธิบาย |
originator |
เฟรมส่วนเสริมที่ส่งข้อความ |
payload |
เพย์โหลดของข้อความ ค่าที่ส่วนเสริมซึ่งทำงานในเฟรมที่ระบุโดยช่องต้นทาง สตริงนี้ต้องมีความยาวไม่เกิน 1,000,000 อักขระ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 UTC"],[[["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"]]