FrameToFrameMessage interfejsu
wiadomość wysłana z ramki dodatku do innej ramki na żądanie klienta.
Podpis
interface FrameToFrameMessage
Podpisy w usłudze
Nazwa |
Opis |
originator |
Ramka dodatku, która wysłała wiadomość. |
payload |
Ładunek wiadomości. Wartość ustawiona przez dodatek działający w ramce określonej przez pole inicjatora. Długość tego ciągu musi być mniejsza niż 1 000 000 znaków. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-15 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]