Method signature MeetMainStageClient.unloadSidePanel
Closes the side panel iframe. Note that side panel add-on state isn't retained
within Meet when the method is called. If the side panel iframe is opened
again, for instance using a call to
loadSidePanel
,
the side panel iframe source URL is set to its original value from the
add-on manifest.
It's up to the add-on to persist any add-on state in the add-on backend
before this method is called.
Signature
unloadSidePanel(): Promise<void>;
Details
Returns
Promise<void>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-07 UTC.
[null,null,["Last updated 2024-10-07 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"]]