Interface NotificationApplicationListener
public interface NotificationApplicationListener
You must implement this interface. The Notification API will call back on this interface to inform you that a user has logged in and requested their notifications.
Once a NotificationChannel has been opened, Notification
s can be sent on it.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback invoked when a discard for a notification channel is received.void
Callback invoked when a request for the notification channel is received.
-
Method Details
-
notificationChannelOpened
Callback invoked when a request for the notification channel is received.
- Parameters:
channel
-NotificationChannel
on which to send Notifications.
-
notificationChannelClosed
Callback invoked when a discard for a notification channel is received.
- Parameters:
channel
-NotificationChannel
that is closed.
-