方法签名 MeetMainStageClient.notifySidePanel
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
从主界面插件 iframe 向侧边栏插件发送消息
iframe。在侧边栏 iframe 中运行的插件可以回应此消息
使用
frameToFrameMessage
插件回调。此字符串的长度必须小于 1,000,000
字符。
签名
notifySidePanel(payload: string): Promise<void>;
详细信息
参数
名称 |
类型 |
可选 |
说明 |
payload |
string |
否 |
|
返回
Promise<void>
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Method signature MeetMainStageClient.notifySidePanel\n\nSends a message from the main stage add-on iframe to the side panel add-on\niframe. The add-on running in the side panel iframe can react to this message\nusing the\n[`frameToFrameMessage`](/workspace/meet/add-ons/reference/websdk/addon_sdk.addoncallbacks.frametoframemessage)\nadd-on callback. The length of this string must be less than 1,000,000\ncharacters.\n\nSignature\n---------\n\n notifySidePanel(payload: string): Promise\u003cvoid\u003e;\n\nDetails\n-------\n\n| Optional | No |\n|----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|-----------|----------|----------|-------------|\n| `payload` | `string` | No | |\n\nReturns\n-------\n\n`Promise\u003cvoid\u003e`"]]