SegmentSpecialSpeedSituation class
A special speed situation indicates a speed that exists under special circumstances.
It can be used to further refine the estimation of traversal times, route calculation and calculation of route guidance timing.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
-
SegmentSpecialSpeedSituation(SpecialSpeedType specialSpeedType, double speedLimitInMetersPerSecond, List<
TimeRule> appliesDuring) - Creates a new instance with default values.
Properties
-
appliesDuring
↔ List<
TimeRule> -
The times during which the condition applies.
May be empty for all special_speed_type values except
TIME_DEPENDENTandAPPROXIMATE_SEASONAL_TIME.getter/setter pair - hashCode → int
-
The hash code for this object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- specialSpeedType ↔ SpecialSpeedType
-
Represents the speed situation type.
getter/setter pair
- speedLimitInMetersPerSecond ↔ double
-
Overrides normal speed limit for this situation.
getter/setter pair
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.