I have a program where i do specific things when Notifications
are displayed and dismissed. These notifications are NOT from this application but others.
To capture notifications i am using an AccessibilityService
, with this i am able to see when a notification is displayed but not dismissed. I am also able to get a reference to the Notification and as such its PendingIntent
for when it is dismissed.
My question, is there any way to determine when a notification(that i did not create) is dismissed, or when a PendingIntent goes off?