メソッド シグネチャ MeetMainStageClient.unloadSidePanel
サイドパネルの iframe を閉じます。なお、このメソッドが呼び出されると、サイドパネル アドオンの状態は Meet 内に保持されません。loadSidePanel
の呼び出しなどを使用してサイドパネル iframe が再度開かれると、サイドパネル iframe のソース URL は アドオン マニフェストの元の値に設定されます。このメソッドが呼び出される前に、アドオンの状態をアドオン バックエンドに保持するのはアドオン次第です。
署名
unloadSidePanel(): Promise<void>;
詳細
戻り値
Promise<void>
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-06 UTC。
[null,null,["最終更新日 2024-11-06 UTC。"],[[["Calling `unloadSidePanel` closes the side panel in Google Meet, but any add-on-specific data within the side panel is not saved."],["Reopening the side panel using `loadSidePanel` will revert the side panel's content back to its original state defined in the add-on manifest."],["Add-ons should save any necessary data to their backend before `unloadSidePanel` is called to ensure data persistence."],["`unloadSidePanel` returns a `Promise` that resolves when the side panel has been successfully closed."]]],["The `unloadSidePanel` method closes the side panel iframe in Meet. Calling this method does not retain the side panel's state. Reopening the side panel resets its URL to the original value from the add-on manifest. Add-ons must persist their state in their backend before invoking `unloadSidePanel`. The method returns a promise that resolves when the operation is complete. This function is not optional.\n"]]