NotificationInterceptor

public interface NotificationInterceptor

Default Notification Interceptor

Author

shaunak

Since

2023-09-11

Functions

Link copied to clipboard
public boolean isHighPriorityMessage(Message message)
Indicates whether the message is a high-priority message.
Link copied to clipboard
public boolean isNotificationIntercepted(Message message)
Determines whether to intercept this local notification, typically used for customizing the display of local notifications.
Link copied to clipboard
public PendingIntent onPendingIntent(PendingIntent pendingIntent, Intent intent)
Callback for setting the PendingIntent of a local notification.
Link copied to clipboard
public NotificationChannel onRegisterChannel(NotificationChannel defaultChannel)
Callback before registering the default channel.