বিজ্ঞপ্তি
জেনেরিক পাস দুটি ধরণের বিজ্ঞপ্তি সমর্থন করে, আপনি যেকোন একটি কনফিগার করতে পারেন:
- আসন্ন বিজ্ঞপ্তি
- মেয়াদ শেষ হওয়ার বিজ্ঞপ্তি
আসন্ন বিজ্ঞপ্তি
সময়ের ব্যবধান শুরু হওয়ার 24 ঘন্টা আগে ব্যবহারকারীর কাছে আসন্ন বিজ্ঞপ্তিগুলি উপস্থিত হয়৷
আসন্ন বিজ্ঞপ্তি কনফিগার করা হলে, " genericObject.cardTitle
is now available" এবং সাবটাইটেল "ভিউ পাস" শিরোনাম সহ একটি বিজ্ঞপ্তি ব্যবহারকারীর কাছে উপস্থিত হবে।
আসন্ন বিজ্ঞপ্তিগুলি কনফিগার করতে, বুলিয়ান মান UpcomingNotification.enabledNotification কে true
সেট করুন।
মেয়াদ শেষ হওয়ার বিজ্ঞপ্তি
মেয়াদ শেষ হওয়ার 48 ঘন্টা আগে মেয়াদ শেষ হওয়ার বিজ্ঞপ্তিগুলি উপস্থিত হয়।
বিজ্ঞপ্তিটি কনফিগার করা হলে, ব্যবহারকারীর কাছে “ genericObject.cardTitle
মেয়াদ শেষ হবে [x] দিনের মধ্যে” এবং সাবটাইটেল “ভিউ পাস” শিরোনাম সহ একটি বিজ্ঞপ্তি প্রদর্শিত হবে।
আসন্ন বিজ্ঞপ্তিগুলি কনফিগার করতে, বুলিয়ান মান ExpiryNotification.enabledNotification কে true
সেট করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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"]]