Podpis metody MeetMainStageClient.unloadSidePanel
Zamyka element iframe panelu bocznego. Pamiętaj, że stan dodatku panelu bocznego nie jest zachowywany
w Meet po wywołaniu tej metody. Jeśli element iframe w panelu bocznym jest otwarty
znowu, na przykład używając wywołania
loadSidePanel
,
źródłowy adres URL elementu iframe panelu bocznego jest ustawiony na pierwotną wartość z parametru
pliku manifestu dodatku.
To od dodatku zależy zachowanie dowolnego stanu dodatku w backendzie dodatku
przed wywołaniem tej metody.
Podpis
unloadSidePanel(): 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-14 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-14 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"]]