رابط FrameToFrameMessage
یک پیام ایجاد شده توسط مشتری که از یک فریم الحاقی به فریم دیگر ارسال می شود.
امضا
interface FrameToFrameMessage
امضای املاک
نام | توضیحات |
---|
originator | فریم الحاقی که پیام را ارسال کرد. |
payload | محموله پیام مقدار تنظیم شده توسط افزونه در حال اجرا در قاب مشخص شده توسط فیلد مبدأ. طول این رشته باید کمتر از 1,000,000 کاراکتر باشد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی."],[[["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"]]