Interface FirebaseOrganizer.GetFacilitiesCallback

Enclosing class:
FirebaseOrganizer

public static interface FirebaseOrganizer.GetFacilitiesCallback
Callback interface for fetching multiple facilities.
  • Method Summary

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

    • onFacilitiesFetched

      void onFacilitiesFetched(ArrayList<Facility> facilities)
      Callback which contains a list of Facility objects.
      Parameters:
      facilities - The list of fetched facilities.
    • onError

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