VpsStaticPositionDetectorConfig

data class VpsStaticPositionDetectorConfig(val windowDuration: Duration = 3.seconds, val geofenceRadiusMeters: Double = 1.0)

Configuration for the static-position detector used to pause VPS scanning when the user is stationary.

Constructors

Link copied to clipboard
constructor(windowDuration: Duration = 3.seconds, geofenceRadiusMeters: Double = 1.0)

Properties

Link copied to clipboard

Radius of the geofence used to determine whether the user has moved, in meters.

Link copied to clipboard

Duration of the observation window used to decide whether the user is stationary.