27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
বিজ্ঞপ্তির ইতিহাস
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিজ্ঞপ্তির ইতিহাস হল একটি ডিভাইসের স্ক্রীন যেখানে ব্যবহারকারীরা স্নুজ করা বিজ্ঞপ্তি, সম্প্রতি খারিজ করা কিছু বিজ্ঞপ্তি এবং বিজ্ঞপ্তির শেষ দিনের ইতিহাস দেখতে পারে৷ এটি OEM-এর বাস্তবায়নের জন্য একটি ঐচ্ছিক বৈশিষ্ট্য। SoC বা ক্যারিয়ারের উপর কোন প্রভাব নেই।
বিজ্ঞপ্তির ইতিহাস এই ব্যবহারের ক্ষেত্রে মোকাবেলা করার জন্য বোঝানো হয়েছে:
- দুর্ঘটনাজনিত বরখাস্ত : আপনি ঘটনাক্রমে একটি বিজ্ঞপ্তি খারিজ করেছেন এবং এটি কী ছিল তা দ্রুত দেখতে চান৷
- স্নুজ করা বিজ্ঞপ্তি : আপনি একটি বিজ্ঞপ্তি স্নুজ করেছেন কিন্তু স্নুজ পিরিয়ড শেষ হওয়ার আগে এটি দেখতে চান।
- সমস্যা সমাধান : আপনি মনে করেন আপনি একটি বিজ্ঞপ্তি মিস করেছেন। একটি বিজ্ঞপ্তি ছিল কিনা এবং এটি বাজছে কিনা তা দেখতে আপনি বিজ্ঞপ্তির ইতিহাস পরীক্ষা করুন৷ আপনি যদি এটি খুঁজে না পান তবে আপনি একটি বিজ্ঞপ্তি ব্লক করা হয়েছে কিনা তা পরীক্ষা করে দেখুন৷ আপনি বিজ্ঞপ্তির ইতিহাসে বিজ্ঞপ্তি সেটিংস পরিবর্তন করতে পারেন।
- বিজ্ঞপ্তি ব্যবস্থাপনা : আপনি কীভাবে বিঘ্নিত বিজ্ঞপ্তিগুলি পরিবর্তন করতে চান, তাই আপনি বিজ্ঞপ্তির ইতিহাস ব্যবহার করেন কারণ এটি দৈনিক বিজ্ঞপ্তি লোডের একটি বাস্তবসম্মত স্লাইস অফার করে, যা সতর্কতা, ব্লক করার ক্ষেত্রে আপনার পরিবর্তনের সুযোগ বোঝা সহজ করে তোলে। ইত্যাদি
বিজ্ঞপ্তি ইতিহাসের এই উপাদানগুলির রেফারেন্স বাস্তবায়ন উপলব্ধ:
- সেটিংস :
packages/apps/Settings/src/com/android/settings/notification/history
- সিস্টেম সার্ভার :
com.android.server.notification.NotificationHistory.*.java
বিজ্ঞপ্তির ইতিহাস বাস্তবায়নের জন্য এইগুলি প্রধান পদক্ষেপ:
- লগে বিজ্ঞপ্তি ইভেন্ট লিখুন।
- লগে এন্ট্রি পয়েন্ট যোগ করুন এবং সেটি চালু এবং বন্ধ করতে সেটিংস করুন।
- বিজ্ঞপ্তি ইতিহাস স্ক্রীন বাস্তবায়ন.
ব্যবহারকারীরা বিজ্ঞপ্তি ইতিহাস বন্ধ করতে পারেন. যখন এটি বন্ধ থাকে, সমস্ত ইতিহাস আইটেম মুছে ফেলা হয় এবং লগে কোন আইটেম লেখা হয় না।
আপনি NotificationHistoryDatabase
ক্লাসে HISTORY_RETENTION_DAYS
ধ্রুবক ব্যবহার করে বিজ্ঞপ্তি ইতিহাসে কত দিনের বিজ্ঞপ্তিগুলি উপস্থিত হবে তা সেট করতে পারেন৷ বিজ্ঞপ্তির ইতিহাসের স্ক্রিনে কোন বিভাগগুলি উপস্থিত হয় এবং কীভাবে ডেটা উপস্থাপন করা হয় তাও আপনি সংশোধন করতে পারেন৷
ডিফল্ট বিজ্ঞপ্তি ইতিহাস ধরে রাখার সময়কাল 24 ঘন্টা।
এই ইউনিট পরীক্ষাগুলি কোডের প্রতিটি উপাদানের জন্য প্রদান করা হয়:
- সিস্টেম সার্ভার ইউনিট পরীক্ষা :
FrameworksUiServicesTests
- সেটিংস ইউনিট পরীক্ষা :
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.notification"
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Notification history is a device screen where users can see snoozed\nnotifications, a handful of recently dismissed notifications, and a history of\nthe last day of notifications. It is an optional feature for OEMs to implement.\nThere's no impact on SoCs or carriers.\n\nNotification history is meant to address these use cases:\n\n- **Accidental dismissal**: You accidentally dismissed a notification and want to get a quick look at what it was.\n- **Snoozed notifications**: You snoozed a notification but want to see it before the snooze period is over.\n- **Troubleshooting**: You think you missed a notification. You check the notification history to see whether there was a notification and whether it buzzed. If you don't find it, you check whether a notification was blocked. You can change notification settings in notification history.\n- **Notification management**: You want to change how interruptive notifications are, so you use notification history because it offers a realistic slice of daily notification load, which makes it easy to understand the scope of your changes to alerting, blocking. etc.\n\nReference implementations of these components of Notification History are\navailable:\n\n- **Settings** : `packages/apps/Settings/src/com/android/settings/notification/history`\n- **System server** : `com.android.server.notification.NotificationHistory.*.java`\n\nThese are the major steps to implement Notification History:\n\n- Write notification events to the log.\n- Add entry points to the log and the setting to turn it on and off.\n- Implement the Notification History screen.\n\nUsers can turn Notification History off. When it's off, all history items are\ndeleted and no items are written to the log.\n\nYou can set the number of days notifications appear in the Notification\nHistory using the `HISTORY_RETENTION_DAYS` constant in the\n`NotificationHistoryDatabase` class. You can also modify which\nsections appear in the Notification History screen and how the data is\npresented.\n\nThe default notification history retention period is 24 hours.\n\nThese unit tests are provided for each component of the code:\n\n- **System server unit tests** : `FrameworksUiServicesTests`\n- **Settings unit tests** : `make -j64 RunSettingsRoboTests\n ROBOTEST_FILTER=\"com.android.settings.notification\"`"]]