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 TypeMethodDescriptionvoid
Callback which contains an error messagevoid
onFacilityExists
(String facilityId) Callback which contains the id of a facility upon successful facility exists operationvoid
Callback which is called when a facility does not exist
-
Method Details
-
onFacilityExists
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
Callback which contains an error message- Parameters:
message
- description of the error
-