メソッド シグネチャ MeetMainStageClient.notifySidePanel
メインステージ アドオンの iframe からサイドパネル アドオンの iframe にメッセージを送信します。サイドパネルの iframe で実行されているアドオンは、frameToFrameMessage
アドオン コールバックを使用してこのメッセージに反応できます。この文字列の長さは 1,000,000 文字未満にする必要があります。
署名
notifySidePanel(payload: string): Promise<void>;
詳細
パラメータ
名前 |
Type |
省略可能 |
説明 |
payload |
string |
いいえ |
|
戻り値
Promise<void>
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-06 UTC。
[null,null,["最終更新日 2024-11-06 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"]]