Interface FacilityController.FacilityCheckCallback

Enclosing class:
FacilityController

public static interface FacilityController.FacilityCheckCallback
Callback interface for checking if a facility exists for a user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(String message)
    Callback which contains an error message
    void
    Callback which contains the id of a facility upon successful facility exists operation
    void
    Callback which is called when a facility does not exist
  • Method Details

    • onFacilityExists

      void onFacilityExists(String facilityId)
      Callback which contains the id of a facility upon successful facility exists operation
      Parameters:
      facilityId -
    • onFacilityNotExists

      void onFacilityNotExists()
      Callback which is called when a facility does not exist
    • onError

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