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, Notifications can be sent on it.

  • Method Details

    • 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.