ลายเซ็นเมธอด MeetMainStageClient.notifySidePanel
ส่งข้อความจาก iframe ของส่วนเสริมในหน้าจอหลักไปยัง iframe ของส่วนเสริมในแผงด้านข้าง ส่วนเสริมที่ทำงานใน iframe ของแผงด้านข้างสามารถตอบสนองต่อข้อความนี้ได้โดยใช้การติดต่อกลับของส่วนเสริม frameToFrameMessage
สตริงนี้ต้องมีอักขระไม่เกิน 1,000,000 ตัว
ลายเซ็น
notifySidePanel(payload: string): Promise<void>;
รายละเอียด
พารามิเตอร์
ชื่อ |
ประเภท |
ไม่บังคับ |
คำอธิบาย |
payload |
string |
ไม่ได้ |
|
การคืนสินค้า
Promise<void>
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-06 UTC
[null,null,["อัปเดตล่าสุด 2024-11-06 UTC"],[[["Enables communication from the main Google Meet stage to the side panel add-on."],["Utilizes the `frameToFrameMessage` callback in the side panel add-on to handle incoming messages."],["Requires a payload string with a maximum length of 1,000,000 characters."],["`notifySidePanel` function sends the message to the side panel, returning a `Promise\u003cvoid\u003e`."]]],["The `notifySidePanel` function sends a string message (`payload`) from the main stage add-on iframe to the side panel add-on iframe. The side panel add-on can then process this message via the `frameToFrameMessage` callback. The `payload` string is mandatory and must be under 1,000,000 characters. This function returns a promise that resolves when the message is sent.\n"]]