ScooterOptions class

All the options to specify how a scooter route should be calculated.

Annotations
  • @Deprecated("Will be removed in v4.28.0. Use `RoutingOptions` class instead.")

Constructors

ScooterOptions()

Properties

allowHighway ↔ bool
Specifies whether scooter is allowed on highway or not. True means scooter is allowed to use highways and false means otherwise. By default it is set to false. Note that there is a similar parameter in AvoidanceOptions, to disallow highway usage, see RoadFeatures.controlledAccessHighway. As the avoidance options takes precedence, if this parameter is also used, then scooters are not allowed to use highways even if allowHighway is set to true. However, if no alternative route is possible, the calculated route may use highways. In such a case, a SectionNotice will be provided in the related Section to indicate that the highway usage restriction is violated on this route. A few examples:
getter/setter pair
avoidanceOptions AvoidanceOptions
Options to specify restrictions for route calculations. By default no restrictions are applied.
getter/setter pair
engineSizeInCubicCentimeters ↔ int?
Engine size of the scooter in cubic centimeters. Shouldn't be less than 1 or greater than 65535. Default value is null, which means the scooter route calculation ignores all engine size limits on the road.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
lastCharacterOfLicensePlate ↔ String?
Specifies the last character of a vehicle's license plate, typically used to evaluate traffic restrictions in certain environmental or low-emission zones. In cities like Bogotá, Mexico City, or Jakarta, specific license plate digits may be restricted on certain days or in certain areas to reduce congestion and emissions. When this value is provided, the HERE SDK considers it during route calculation to avoid roads or areas where your vehicle may be restricted based on local regulations. Example usage: "7", when the license plate of a vehicle looks like "B-ET-182487".
getter/setter pair
maxSpeedOnSegments ↔ List<MaxSpeedOnSegment>
Segments with restriction on maximum DynamicSpeedInfo.baseSpeedInMetersPerSecond.
getter/setter pair
occupantsNumber ↔ int
Specifies the number of occupants in the vehicle, including driver. Shouldn't be less than 1 or greater than 255. Defaults to 1. This option is only relevant for Japan and will be ignored for other countries.
getter/setter pair
routeOptions RouteOptions
Specifies the common route calculation options.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textOptions RouteTextOptions
Customize textual content returned from the route calculation, such as localization, format, and unit system.
getter/setter pair
tollOptions TollOptions
Options to specify how the tolls should be calculated, such as transponders, vehicle category, and emission type.
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.