接口 ActivityStartingState
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
参与者接受邀请后,插件的初始状态
启动 activity。
签名
interface ActivityStartingState
属性签名
名称 |
说明 |
additionalData |
插件可用于初始化自身的内部数据。非常适合向加入 activity 的用户传达无法存储在网址中的应用专用状态。此字符串的长度不得超过 4,096 个字符。 |
mainStageUrl |
主舞台为加入活动的用户打开的网址。此网址的长度必须少于 512 个字符。 |
sidePanelUrl |
侧边栏为加入活动的用户打开的网址。此网址的长度必须少于 512 个字符。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Interface ActivityStartingState\n\nStarting state of the add-on when the participant accepts the invitation to\nstart an activity.\n\nSignature\n---------\n\n interface ActivityStartingState\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|-------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`additionalData`](./addon_sdk.activitystartingstate.additionaldata.md) | Data internal to the add-on that it can use to initialize itself. Useful for communicating application-specific state to users joining the activity that cannot be stored in the URLs. The length of this string must be less than 4,096 characters. |\n| [`mainStageUrl`](./addon_sdk.activitystartingstate.mainstageurl.md) | The URL that the main stage opens for users joining the activity. The length of this URL must be less than 512 characters. |\n| [`sidePanelUrl`](./addon_sdk.activitystartingstate.sidepanelurl.md) | The URL that the side panel opens for users joining the activity. The length of this URL must be less than 512 characters. |"]]