MeetMainStageClient.unloadSidePanel 方法簽章
關閉側邊面板 iframe。請注意,在呼叫方法時,Meet 不會保留側邊面板外掛程式狀態。如果側邊面板 iframe 已開啟
舉例來說
loadSidePanel
,
側邊面板 iframe 來源網址已設為原始值
外掛程式資訊清單。
在這個方法呼叫之前,擴充功能必須在擴充功能後端中保留任何擴充功能狀態。
簽名
unloadSidePanel(): Promise<void>;
詳細資料
傳回
Promise<void>
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-14 (世界標準時間)。
[null,null,["上次更新時間:2024-10-14 (世界標準時間)。"],[[["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"]]