Method signature MeetSidePanelClient.notifyMainStage
Sends a message from the side panel add-on iframe to the main stage add-on
iframe. The add-on running in the main stage iframe can react to this message
using the
frameToFrameMessage
add-on callback (see
AddonCallbacks
).
The length of this string must be less than 1,000,000 characters.
Signature
notifyMainStage(payload: string): Promise<void>;
Details
Parameters
Name |
Type |
Optional |
Description |
payload |
string |
No |
|
Returns
Promise<void>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Enables communication from a side panel add-on to a main stage add-on within Google Meet."],["Utilizes the `notifyMainStage` function with a payload string to send messages."],["Main stage add-ons can receive and react to these messages using the `frameToFrameMessage` callback."],["The payload string is limited to under 1,000,000 characters."]]],["The `notifyMainStage` function sends a string message (`payload`) from a side panel add-on iframe to the main stage add-on iframe. The main stage add-on can receive this message via the `frameToFrameMessage` callback. The message string must be under 1,000,000 characters. The `payload` parameter is required and the function returns a Promise that resolves when the message is sent.\n"]]