Interface EventDB.AddEventCallback

Enclosing class:
EventDB

public static interface EventDB.AddEventCallback
Callback interface for when adding an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when adding an event to the database has failed.
    void
    onSuccess(String eventId)
    Called when adding an event to the database was successful.
  • Method Details

    • onSuccess

      void onSuccess(String eventId)
      Called when adding an event to the database was successful.
      Parameters:
      eventId - Event id of the added successful.
    • onFailure

      void onFailure(Exception e)
      Called when adding an event to the database has failed.
      Parameters:
      e - Exception message.