GeofenceSettings

class GeofenceSettings(var dwellTimeInSeconds: Int? = null, var dwellTimeErrorRangeInSeconds: Int? = null)

Represents the geofence settings from the application configuration.

These values are fetched via com.advantahealth.api.settings.ApplicationSettings.getActiveFitSettings and used by the SDK to determine when a facility visit qualifies as a dwell event.

Constructors

Link copied to clipboard
constructor(dwellTimeInSeconds: Int? = null, dwellTimeErrorRangeInSeconds: Int? = null)

Properties

Link copied to clipboard

The acceptable error range in seconds for the dwell time.

Link copied to clipboard

The duration in seconds a user needs to stay within a geofence for a visit to be recorded. Defaults to 300 (5 minutes) if not configured.

Functions

Link copied to clipboard
open override fun toString(): String