ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 83 - Associate Android Developer discussion

Report
Export

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()
Answers
A.
NotificationChannel.setPriority()
B.
NotificationChannel.setImportance()
Answers
B.
NotificationChannel.setImportance()
C.
NotificationCompat.Builder.setImportance()
Answers
C.
NotificationCompat.Builder.setImportance()
Suggested answer: B

Explanation:

Reference:

https://developer.android.com/training/notify-user/build-notification

asked 18/09/2024
Romsat Sertec
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first