方法簽章 MeetAddonClient.closeAddon
如要關閉在 Meet iframe 中執行的外掛程式,請卸載所有 iframe,並
如果側邊面板處於開啟狀態,則關閉面板。在有活動進行時呼叫此方法不會有任何效果。
簽名
closeAddon(): Promise<void>;
詳細資料
傳回
Promise<void>
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-16 (世界標準時間)。
[null,null,["上次更新時間:2024-10-16 (世界標準時間)。"],[[["`closeAddon()` is a function that closes the add-on running within a Google Meet iframe by unloading iframes and closing the side panel, if open."],["Calling `closeAddon()` during an ongoing activity within the add-on will not have any effect."],["This function is optional and does not require any parameters, ultimately returning a promise that resolves when the operation is complete."]]],["The `closeAddon()` function unloads all iframes within the Meet iframe and closes the side panel if it is open, effectively closing the add-on. It returns a Promise that resolves when the action is complete. The function has no effect if there is an ongoing activity. It does not take any parameters and is not optional.\n"]]