Interface EventDB.LoadSingleEventCallback

Enclosing class:
EventDB

public static interface EventDB.LoadSingleEventCallback
Callback interface when loading a single event document from the database.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when loading the event object from the database has failed.
    void
    Called when an event object was successfully loaded from the database.
  • Method Details

    • onSuccess

      void onSuccess(Event event)
      Called when an event object was successfully loaded from the database.
      Parameters:
      event - Event object that was loaded.
    • onFailure

      void onFailure(Exception e)
      Called when loading the event object from the database has failed.
      Parameters:
      e - Exception message.