ממשק frameToFrameMessage
הודעה שהלקוח יצר ושנשלחה ממסגרת של תוסף אחת למסגרת של תוסף אחר.
חתימה
interface FrameToFrameMessage
חתימות של נכסים
שם |
תיאור |
originator |
מסגרת התוסף ששלחה את ההודעה. |
payload |
המטען הייעודי (payload) של ההודעה. הערך שהוגדר על ידי התוסף שפועל במסגרת שצוינה בשדה המקור. האורך של המחרוזת הזו חייב להיות קצר מ-1,000,000 תווים. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]