Dwell

data class Dwell(val geofenceId: String, val location: AFGeoLocation?, val dwellDurationSeconds: Long = 0) : AFGeofenceEvent

Indicates that the device has dwelled within a geofence for the specified duration.

Constructors

Link copied to clipboard
constructor(geofenceId: String, location: AFGeoLocation?, dwellDurationSeconds: Long = 0)

Properties

Link copied to clipboard

The actual time spent inside the geofence, in seconds. The dwell threshold is determined by the application settings (see com.advantahealth.api.settings.ApplicationSettings.getActiveFitSettings).

Link copied to clipboard

The ID of the geofence where dwelling occurred.

Link copied to clipboard

The location at which the dwell transition was detected, if available.