Chữ ký phương thức MeetAddonClient.closeAddon
Đóng tiện ích bổ sung đang chạy trong iframe Meet bằng cách huỷ tải tất cả iframe và đóng bảng điều khiển bên nếu bảng điều khiển đó đang mở. Việc gọi phương thức này trong khi có một hoạt động đang diễn ra sẽ không có hiệu lực.
Chữ ký
closeAddon(): 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-16 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]