Interface EventController.EventListCallback
- Enclosing class:
- EventController
public static interface EventController.EventListCallback
Callback interface for fetching all events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback which contains an error messagevoid
onEventsFetched
(ArrayList<Event> events) Returns a list of events
-
Method Details
-
onEventsFetched
Returns a list of events- Parameters:
events
- List of Event objects
-
onError
Callback which contains an error message- Parameters:
message
- description of the error
-