Interface NotificationController.GetNotificationsCallback

Enclosing class:
NotificationController

public static interface NotificationController.GetNotificationsCallback
Callback interface for retrieving notifications for a user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String message)
    Callback which contains an error message
    void
    Callback which contains a list of notifications
  • Method Details

    • onNotificationsFetched

      void onNotificationsFetched(List<Notification> notifications)
      Callback which contains a list of notifications
      Parameters:
      notifications - List of notifications
    • onError

      void onError(String message)
      Callback which contains an error message
      Parameters:
      message - description of the error