Interface EventDB.EventsChangedCallback

Enclosing class:
EventDB

public static interface EventDB.EventsChangedCallback
Callbacks fired by the realtime events collection listener.

Unlike Event.startEventListen(com.example.breeze_seas.Event.EventUpdatedCallback), which watches a single event document, this listener watches the entire "events" collection. Reacts to changes across all events without a manual refresh.

  • Method Details

    • onEventAdded

      void onEventAdded(Event event)
    • onEventModified

      void onEventModified(Event event)
    • onEventRemoved

      void onEventRemoved(Event event)
    • onFailure

      void onFailure(Exception e)