I've been trying to add notifications for my android app and I came across this StackOverflow question, which shows two ways to create a non clearable notification for different API levels.
I have used the older API style for creating the notification in my app and it works perfectly well but I was wondering if there are any issues with the older way or what benefits the newer API form offers?