ลายเซ็นเมธอด MeetAddonClient.setActivityDefaultState
ชุดหรืออัปเดตข้อมูลเกี่ยวกับสถานะเริ่มต้นของส่วนเสริมที่ใช้
เมื่อผู้เข้าร่วมยอมรับคำเชิญให้เข้าร่วมกิจกรรม
ลายเซ็น
setActivityStartingState(
activityStartingState: ActivityStartingState,
): Promise<void>;
รายละเอียด
พารามิเตอร์
การคืนสินค้า
Promise<void>
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 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."]]],[]]