Rana Hamza
Rana Hamza

Reputation: 21

What is difference between Notification Channel Priority and Notification Priority in Android | Kotlin

I am learning to work with notifications in Android. I came to know that Notification Channel and Notifications itself needs a priority value. So, I want to know what is the difference between? Or what will happen when I change Channel Priority or Notificaiton Priority?

I tried with Default priority value first for both Notifications and Notification Channel and then changed both to High, but not able to see any difference.

Upvotes: 2

Views: 1240

Answers (1)

Ashish Suman
Ashish Suman

Reputation: 71

As per android docs, Notification Priority is used only on devices running Android 7.1 (API level 25) or lower. On higher android versions Notification Channel Importance is used.

Upvotes: 3

Related Questions