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