Package 

Class GeofenceConfiguration

    • Constructor Detail

      • GeofenceConfiguration

        GeofenceConfiguration(Boolean enabled, Float defaultRadiusMeters, Integer maxActiveGeofences, Float reRegisterThresholdMeters, Float nearDistanceMeters, Float enterMaxAccuracyMeters, Float exitMaxAccuracyMeters, Float exitHysteresisMeters, Integer exitDebounceFixes, Double sessionTimeoutSeconds, Long nearIntervalMs, Long farIntervalMs, String nearPriority, String farPriority, Long fastestIntervalMs, Integer responsivenessMs, String workQueueQosClass)
    • Method Detail

      • getMaxActiveGeofences

         final Integer getMaxActiveGeofences()

        Max geofences registered at once. Android caps at 100; we leave headroom (95).

      • getNearDistanceMeters

         final Float getNearDistanceMeters()

        Within this distance (meters) of any stop, use the dense/high-accuracy cadence.

      • getExitHysteresisMeters

         final Float getExitHysteresisMeters()

        Hysteresis (meters) added to the radius for the app-side EXIT (ENTER at r, EXIT past r+this).

      • getFarIntervalMs

         final Long getFarIntervalMs()

        Fused-location update interval (ms) when FAR from every stop.

      • getNearPriority

         final String getNearPriority()

        Fused-location request Priority when NEAR a stop. One of highAccuracy/ balancedPowerAccuracy/lowPower/passive (case-insensitive). The dominant battery lever. Default highAccuracy; unknown values fall back to the default.

      • getFastestIntervalMs

         final Long getFastestIntervalMs()

        Floor (ms) on how fast fused fixes may arrive (setMinUpdateIntervalMillis); <=0 -> default.

      • getResponsivenessMs

         final Integer getResponsivenessMs()

        Play Services geofence responsiveness hint (ms) — lower = faster transitions.

      • getWorkQueueQosClass

         final String getWorkQueueQosClass()

        Priority of the serial background thread that owns all geofence reconcile work (distance loop, cadence, ENTER/EXIT) — so none of it runs on the main/UI thread. Android's analog of the iOS workQueueQosClass (same key + vocabulary for cross-platform config parity); mapped to an android.os.Process thread priority: userInteractive→URGENT_DISPLAY, userInitiated→FOREGROUND, default→DEFAULT, utility→BACKGROUND, background→LOWEST (case-insensitive). Default userInitiated keeps detection low-latency under load; lower it for a fleet-level battery trade-off. Applied when the reconcile thread is first created.