Android Question How is this notification created?

JohnC

Expert
Licensed User
Longtime User
I am using an app called "Beautiful Timer" by Pizza Entertainment (mmmmmm.... Pizza!)

When you setup a count-down timer on it, it displays a notification for itself with these traits:

1) When you swipe-down from the top, the current count-down value is displayed as a normal notification.
2) You can NOT swipe it to the right to remove it from the notification list.
3) There is NO icon for this notification displayed in the top status bar.
4) When the phone is configured to have a lock screen, the notification for this app will NOT appear on the lock screen.

These traits happen on both an Android 5.0.1 device as well as a Android 8.1 device.

For the life of me I can't seem to figure out how to create such a notification that has all four of the above traits!

I tried every which way with the below two libraries and can't reproduce this notification.



I will either get a notification that you can't swipe off, but then it's icon will appear in the top status bar and the notification will appear on the lock screen.

Any ideas how to create a notification with the above listed traits?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…