What should we use instead of NotificationCompat.Builder.setPriority() for Android 8.0 and higher?

In Android 8.0, API level 26, some APIs regarding notification behaviors were moved from Notification to NotificationChannel. For example, what should we use instead of NotificationCompat.Builder.setPriority() for Android 8.0 and higher?
A. NotificationChannel.setPriority()
B. NotificationChannel.setImportance()
C. NotificationCompat.Builder.setImportance()

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.