सूचनाएं
जेनरिक पास से जुड़ी दो तरह की सूचनाएं काम करती हैं. इनमें से किसी एक को कॉन्फ़िगर किया जा सकता है:
- आने वाली सूचना
- समयसीमा खत्म होने की सूचना
आने वाली सूचना
आने वाली सूचनाएं, उपयोगकर्ता को टाइम इंटरवल शुरू होने से 24 घंटे पहले दिखती हैं.
आने वाली सूचना को कॉन्फ़िगर करने पर, उपयोगकर्ता को “genericObject.cardTitle
अब उपलब्ध है” और सबटाइटल “पास देखें” टाइटल के साथ एक सूचना दिखेगी.
आगे आने वाली सूचनाओं को कॉन्फ़िगर करने के लिए, बूलियन वैल्यू UpcomingNotification.enabledNotification को true
पर सेट करें.
समयसीमा खत्म होने की सूचना
समयसीमा खत्म होने की सूचनाएं
समय अंतराल के खत्म होने से 48 घंटे पहले दिखती हैं.
सूचना को कॉन्फ़िगर किए जाने के बाद, उपयोगकर्ता को
“genericObject.cardTitle
की समयसीमा [x] दिनों में खत्म हो जाएगी” और सबटाइटल “पास देखें” के साथ एक सूचना दिखेगी.
आने वाली सूचनाओं को कॉन्फ़िगर करने के लिए, बूलियन वैल्यू
ExpiryNotification.enabledNotification को true
पर सेट करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-28 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-28 (UTC) को अपडेट किया गया."],[[["Generic passes offer two notification types: upcoming and expiry, allowing users to receive timely alerts."],["Upcoming notifications, triggered 24 hours before a specified time interval, inform users that their generic object is available."],["Expiry notifications, appearing 48 hours prior to the end of a time interval, remind users of the impending expiration of their generic object."],["Both notification types can be easily enabled by setting the respective boolean value (`enabledNotification`) to `true` in the pass configuration."]]],["Generic Passes offer upcoming and expiry notifications. Upcoming notifications, appearing 24 hours before the start time, display the pass's card title and \"View pass\" as the subtitle, enabled by setting `UpcomingNotification.enabledNotification` to `true`. Expiry notifications, appearing 48 hours before the end time, show the card title and an \"expires in [x] days\" message with a \"View pass\" subtitle, enabled by setting `ExpiryNotification.enabledNotification` to `true`.\n"]]