Failure

data class Failure(val message: String? = null, val cause: Throwable? = null, val status: AFGeofencingStatus? = null) : AFGeofencingResult

Operation failed with an error.

Constructors

Link copied to clipboard
constructor(message: String? = null, cause: Throwable? = null, status: AFGeofencingStatus? = null)

Properties

Link copied to clipboard

Optional underlying platform exception, or null if not available.

Link copied to clipboard

Optional human-readable description of the error, or null if none was provided.

Link copied to clipboard

The AFGeofencingStatus published at call time (e.g. PERMISSIONS_REDUCED_ACCURACY, PERMISSIONS_DENIED, LOCATION_SERVICES_DISABLED), letting consumers react synchronously without observing com.advantahealth.api.facilities.Facilities.subscribeToStatus. null when the failure has no associated status (e.g. no facilities to monitor). Best-effort on iOS — see the class doc.