DSPrefKeysPosition class abstract Sensor Data Source
Keys for DataSource position sensors configuration.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- allowsBackgroundLocationUpdates → const String
- Allows background location updates key.
- improvedPositionDefTransportMode → const String
- Improved position default transport mode key. Values: "car", "truck", "bike/bicycle", "pedestrian", "auto". Default transport mode roads are preferred by the improved position engine. If set to auto, the default transport mode is automatically detected.
- improvedPositionSnapToMapLinkThresholdBike → const String
- Threshold for snapping to map link data (bike). Default 50 meters. If position is close to a map link at a smaller distance than this value, the improved position will automatically snap to the map link. 0 means never snap to map data.
- improvedPositionSnapToMapLinkThresholdVehicle → const String
- Threshold for snapping to map link data (vehicle). Default 50 meters. If position is close to a map link at a smaller distance than this value, the improved position will automatically snap to the map link. 0 means never snap to map data.
- improvedPositionUpdateFreq → const String
- Improved position update frequency key. Higher frequency provides smoother positions but increases CPU and battery usage.
- improvedPosPreferRouteSnap → const String
-
Whether to snap to the route (instead of the most probable link).
If
true
, the arrow will always snap to the route (if the route exists, and the distance is within the "snapToMapLinkThreshold"). Iffalse
, it will snap to the most probable map link, which is not necessarily the route link. This is only for display; does not affect the matching and guidance algorithm. - pausesLocationUpdatesAutomatically → const String
- Pauses location updates automatically key.
- positionAccuracy → const String
- Position accuracy key.
- positionActivity → const String
- Position activity key.
- positionDistanceFilter → const String
- Position distance filter key.
- positionHeadingAngleFilter → const String
- Position heading angle filter key.