Which call attaches the action performed when the notification is tapped?
- setPriority()
- setContentIntent(pendingIntent)
- setSmallIcon()
- setChannelId()
Answer
B) setContentIntent(pendingIntent)
setContentIntent sets the PendingIntent fired on tap.
Computer Science MCQ · More Intents and Notifications MCQs · Practise