Podpis metody MeetAddonClient.closeAddon
Zamknij dodatek działający w elemencie iframe Meet, usuwając wszystkie elementy iframe i
zamknij panel boczny, jeśli jest otwarty. Wywołanie tej metody podczas trwającej aktywności nie przynosi żadnego efektu.
Podpis
closeAddon(): Promise<void>;
Szczegóły
Zwroty
Promise<void>
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-16 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-16 UTC."],[[["`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"]]