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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notificationChannelClosed(NotificationChannel channel)
Callback invoked when a discard for a notification channel is received.void
notificationChannelOpened(NotificationChannel channel)
Callback invoked when a request for the notification channel is received.
-
-
-
Method Detail
-
notificationChannelOpened
void notificationChannelOpened(NotificationChannel channel)
Callback invoked when a request for the notification channel is received.
- Parameters:
channel
-NotificationChannel
on which to send Notifications.
-
notificationChannelClosed
void notificationChannelClosed(NotificationChannel channel)
Callback invoked when a discard for a notification channel is received.
- Parameters:
channel
-NotificationChannel
that is closed.
-
-