getNotificationPriority

This method will retrieve notification priority from notificationExtras bundle if it has been set. Otherwise returns the default priority.

Starting with Android O, priority is set on a notification channel and not individually on notifications.