Interface EventController.EventListCallback

Enclosing class:
EventController

public static interface EventController.EventListCallback
Callback interface for fetching all events.
  • Method Summary

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

    • onEventsFetched

      void onEventsFetched(ArrayList<Event> events)
      Returns a list of events
      Parameters:
      events - List of Event objects
    • onError

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