GeofenceError

Types

Link copied to clipboard
data class GeneralError(val cause: Throwable?, val message: String) : GeofenceError

General geofence error.

Link copied to clipboard
data class LocationDisabled(val message: String = "Location services must be enabled for geofencing") : GeofenceError

Location services are disabled on the device.

Link copied to clipboard
data class PermissionDenied(val permission: String, val message: String = "Location permission required for geofencing") : GeofenceError

Location permission was denied.

Link copied to clipboard
data class PlayServicesError(val errorCode: Int, val message: String) : GeofenceError

Google Play Services error.

Link copied to clipboard
data class TooManyGeofences(val current: Int, val maximum: Int = GeofencePolicy.MAX_REGIONS) : GeofenceError

Too many geofences registered.