I want to detect the value of app notifications toggle handling for android 6.0 os in my application say "TestNotifications".
Here is sample screen shot just for reference (original screen will be of "TestNotifications" app instead of Calendar with different notifications options) :
Let's say for example, if I toggle the value of "Allow Notifications" to true then I want to detect this value in my TestNotifications application.
Is it programatically possible to do it?
I checked some of the posts but I am not able to understand :
- How to check if my app is allowed to show notification
- How to know if Show Notification is disabled for my app?
- Android - Push Notification are ON?
Any help will be appreciated.