Chữ ký phương thức MeetMainStageClient.unloadSidePanel
Đóng iframe của bảng điều khiển bên. Xin lưu ý rằng trạng thái của tiện ích bổ sung trên bảng điều khiển bên không được giữ lại
trong Meet khi phương thức này được gọi. Nếu iframe bảng điều khiển bên đang mở
một lần nữa, chẳng hạn như sử dụng lệnh gọi đến
loadSidePanel
,
URL nguồn iframe của bảng điều khiển bên được đặt về giá trị ban đầu từ
tệp kê khai tiện ích bổ sung.
Tùy thuộc vào tiện ích bổ sung để duy trì mọi trạng thái tiện ích bổ sung trong phần phụ trợ của tiện ích bổ sung trước khi phương thức này được gọi.
Chữ ký
unloadSidePanel(): Promise<void>;
Thông tin chi tiết
Giá trị trả về
Promise<void>
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-10-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]