Сигнатура метода MeetMainStageClient.notifySidePanel
Отправляет сообщение из iframe надстройки основной сцены в iframe надстройки боковой панели. Надстройка, работающая в iframe на боковой панели, может отреагировать на это сообщение, используя обратный вызов frameToFrameMessage
. Длина этой строки должна быть меньше 1 000 000 символов.
Подпись
notifySidePanel(payload: string): Promise<void>;
Подробности
Параметры
Имя | Тип | Необязательный | Описание |
---|
payload | string | Нет | |
Возврат
Promise<void>
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-10 UTC.
[null,null,["Последнее обновление: 2025-01-10 UTC."],[[["Enables communication from the main Google Meet stage to the side panel add-on."],["Utilizes the `frameToFrameMessage` callback in the side panel add-on to handle incoming messages."],["Requires a payload string with a maximum length of 1,000,000 characters."],["`notifySidePanel` function sends the message to the side panel, returning a `Promise\u003cvoid\u003e`."]]],["The `notifySidePanel` function sends a string message (`payload`) from the main stage add-on iframe to the side panel add-on iframe. The side panel add-on can then process this message via the `frameToFrameMessage` callback. The `payload` string is mandatory and must be under 1,000,000 characters. This function returns a promise that resolves when the message is sent.\n"]]