Class CalendarEventActionResponse
Calendarइवेंटकार्रवाईरिस्पॉन्स
यह उस जवाब को दिखाता है जिससे कैलेंडर इवेंट में बदलाव होता है. उपयोगकर्ता, यूज़र इंटरफ़ेस (यूआई) में की गई किसी कार्रवाई के जवाब में, इवेंट में बदलाव करता है. जैसे, बटन पर क्लिक करना.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
तरीके
तरीका | रिटर्न टाइप | संक्षिप्त विवरण |
printJson() | String | इस ऑब्जेक्ट को JSON फ़ॉर्मैट में प्रिंट करता है. |
ज़्यादा जानकारी वाला दस्तावेज़
printJson()
इस ऑब्जेक्ट को JSON फ़ॉर्मैट में प्रिंट करता है. यह सिर्फ़ डीबग करने के लिए है.
वापसी का टिकट
String
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-21 (UTC) को अपडेट किया गया."],[[["`CalendarEventActionResponse` enables modifications to a calendar event based on user actions within the UI."],["It facilitates actions like adding attendees or potentially other modifications (not explicitly stated) to the event being edited."],["Developers can utilize the `printJson()` method for debugging purposes to examine the JSON structure of the response."]]],["The `CalendarEventActionResponse` modifies a calendar event being edited in the UI, based on user actions. Key actions include adding attendees, demonstrated by the `addAttendees()` method, which accepts an array of email addresses. The class also provides the `printJson()` method for debugging, returning a string containing the JSON representation of the current state. The response is built using `CardService.newCalendarEventActionResponseBuilder()` and finalized with `build()`.\n"]]