インターフェース ActivityStartingState
参加者がアクティビティを開始するための招待を承諾したとき、アドオンの開始状態。
署名
interface ActivityStartingState
プロパティの署名
名前 |
説明 |
additionalData |
アドオン自体の初期化に使用できる、アドオン内部のデータ。URL に保存できない、アクティビティに参加するユーザーにアプリケーション固有の状態を伝えるのに役立ちます。この文字列の長さは 4,096 文字未満にする必要があります。 |
mainStageUrl |
アクティビティに参加するユーザーがメインステージを開く URL。この URL の長さは 512 文字未満にしてください。 |
sidePanelUrl |
アクティビティに参加するユーザーに対してサイドパネルが開く URL。この URL の長さは 512 文字未満にしてください。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-16 UTC。
[null,null,["最終更新日 2024-10-16 UTC。"],[[["`ActivityStartingState` interface defines the initial state of an add-on when a user joins an activity."],["It includes properties like `additionalData` for internal add-on data, `mainStageUrl` for the main content URL, and `sidePanelUrl` for the side panel content URL."],["URLs for `mainStageUrl` and `sidePanelUrl` must be less than 512 characters, while `additionalData` string must be less than 4,096 characters."]]],["The `ActivityStartingState` interface defines the initial state of an add-on when a participant joins an activity. It includes `additionalData`, a string under 4,096 characters for internal add-on initialization data. `mainStageUrl` (under 512 characters) specifies the URL for the main stage view, while `sidePanelUrl` (also under 512 characters) indicates the URL for the side panel view for users joining the activity. These URLs are what is opened for users when they join.\n"]]