Method signature MeetAddonClient.setActivityStartingState
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.
Signature
setActivityStartingState(
activityStartingState: ActivityStartingState,
): Promise<void>;
Details
Parameters
Returns
Promise<void>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `setActivityStartingState` function allows developers to define or modify the initial state of their add-on upon user acceptance of an activity invitation."],["It accepts an `ActivityStartingState` object as input, providing data to initialize the add-on's state."],["The function returns a promise that resolves when the operation completes successfully."],["This is essential for ensuring your add-on starts with the necessary information when a user joins an activity."]]],[]]