方法签名 MeetAddonClient.closeAddon
卸载所有 iframe 并关闭 Meet iframe 中运行的插件
关闭侧边栏(如果已打开)。在有活动正在进行时调用此方法不会产生任何影响。
签名
closeAddon(): Promise<void>;
详细信息
返回
Promise<void>
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-16。
[null,null,["最后更新时间 (UTC):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"]]