Đóng tiện ích bổ sung đang chạy trong iframe của Meet bằng cách huỷ tải tất cả các iframe và đóng bảng điều khiển bên nếu đ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. (Kế thừa từ MeetAddonClient)
Kết thúc một hoạt động đang diễn ra. Sẽ không thành công nếu: – Không có hoạt động nào đang diễn ra. – Người dùng không phải là người khởi tạo hoạt động. (Được kế thừa từ MeetAddonClient)
Truy xuất thông tin về trạng thái ban đầu của tiện ích bổ sung khi người tham gia chấp nhận lời mời tham gia hoạt động. (Được kế thừa từ MeetAddonClient)
Gửi thông báo từ iframe của tiện ích bổ sung trên bảng điều khiển bên tới iframe của tiện ích bổ sung giai đoạn chính. Tiện ích bổ sung đang chạy trong iframe giai đoạn chính có thể phản ứng với thông báo này bằng cách sử dụng lệnh gọi lại tiện ích bổ sung frameToFrameMessage (xem AddonCallbacks). Độ dài của chuỗi này phải dưới 1.000.000 ký tự.
Đặt hoặc cập nhật thông tin về trạng thái ban đầu của tiện ích bổ sung được sử dụng khi người tham gia chấp nhận lời mời tham gia hoạt động. (Được kế thừa từ MeetAddonClient)
Bắt đầu một hoạt động với trạng thái bắt đầu đã cung cấp của khung mà trình khởi tạo và người tham gia có thể sử dụng trong hoạt động đó. (Được kế thừa từ MeetAddonClient)
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Interface MeetSidePanelClient\n\nThe `MeetAddonClient` for the side panel component of an add-on.\n\nSignature\n---------\n\n interface MeetSidePanelClient extends MeetAddonClient\n\nHeritage\n--------\n\n| Extends | [MeetAddonClient](./addon_sdk.meetaddonclient.md) |\n|---------|---------------------------------------------------|\n\nMethod signatures\n-----------------\n\n| Name | Description |\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`closeAddon()`](./addon_sdk.meetaddonclient.closeaddon.md) | Close the add-on that's running in the Meet iframe by unloading all iframes and closing the side panel if it's open. Calling this while there's an ongoing activity has no effect. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`endActivity()`](./addon_sdk.meetaddonclient.endactivity.md) | Ends an ongoing activity. Will fail if: - There is not an ongoing activity. - The user is not the initiator of the activity. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`getActivityStartingState()`](./addon_sdk.meetaddonclient.getactivitystartingstate.md) | Retrieves information about the initial state of the add-on when the participant accepts the invitation to activity. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`getFrameOpenReason()`](./addon_sdk.meetaddonclient.getframeopenreason.md) | Retrieves the action causing the add-on frame to be opened. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`getMeetingInfo()`](./addon_sdk.meetaddonclient.getmeetinginfo.md) | Retrieves information about the meeting in which the add-on is running. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`notifyMainStage(payload)`](./addon_sdk.meetsidepanelclient.notifymainstage.md) | Sends a message from the side panel add-on iframe to the main stage add-on iframe. The add-on running in the main stage iframe can react to this message using the [`frameToFrameMessage`](/workspace/meet/add-ons/reference/websdk/addon_sdk.addoncallbacks.frametoframemessage) add-on callback (see [`AddonCallbacks`](/workspace/meet/add-ons/reference/websdk/addon_sdk.addoncallbacks)). The length of this string must be less than 1,000,000 characters. |\n| [`on(eventId, eventHandler)`](./addon_sdk.meetaddonclient.on.md) | Provides access to the [`AddonCallbacks`](/workspace/meet/add-ons/reference/websdk/addon_sdk.addoncallbacks) that the add-on can utilize. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`setActivityStartingState(activityStartingState)`](./addon_sdk.meetaddonclient.setactivitystartingstate.md) | Sets or updates information about the initial state of the add-on that's used when the participant accepts the invitation to join the activity. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |\n| [`startActivity(activityStartingState)`](./addon_sdk.meetaddonclient.startactivity.md) | Starts an activity with the provided starting state of frames that the initiator and participants can use during the activity. *(Inherited from [`MeetAddonClient`](./addon_sdk.meetaddonclient.md))* |"]]