AutomaticUpdatesConfiguration

constructor(allRegionsEnabled: Boolean = false, relevantRegionsEnabled: Boolean = false, relevantRegionsRadius: Distance = Distance.ZERO, relevantRegionsUpdateInterval: Duration = Duration.ZERO, regionsAlongRouteEnabled: Boolean = false, regionsAlongRouteRadius: Distance = Distance.ZERO)

Parameters

allRegionsEnabled

Indicates whether automatic update is enabled for all regions in the map. Update regions will not be updated in any specific order.

relevantRegionsEnabled

Indicates whether automatic update within the radius around current position is enabled. If enabled, the radius should be specified in relevantRegionsRadius. Additionally, it is possible to configure periodic updates via relevantRegionsUpdateInterval. Update regions will not be updated in any specific order.

relevantRegionsRadius

Indicates the distance within which regions around the current position would be considered for an update. This is only used when relevantRegionsEnabled is enabled. Should not be negative.

relevantRegionsUpdateInterval

Indicates the time interval at which relevant regions will be updated. This is only used when relevantRegionsEnabled is enabled. Should not be negative. Value of 0, means periodic updates are disabled.

regionsAlongRouteEnabled

Enables the automatic update of regions in a given distance to the current active route. If enabled, the distance should be specified in regionsAlongRouteRadius.

regionsAlongRouteRadius

Indicates the distance within which regions around the current route would be considered for an update. This is only used when regionsAlongRouteEnabled is enabled. Should not be negative.