TollgateInstruction
data class TollgateInstruction(val id: UniqueId = UniqueId(), val routeOffset: Distance, val travelTime: Duration, val maneuverPoint: GeoPoint, val drivingSide: DrivingSide, val combineWithNext: Boolean, val announcements: List<Announcement> = emptyList(), val previousSignificantRoad: RoadInformation? = null, val nextSignificantRoad: RoadInformation? = null, val routePath: List<RouteCoordinate> = emptyList(), val intersectionName: TextWithPhonetics? = null, val signpost: Signpost? = null, val landmark: Landmark? = null, val sideStreetOffset: Distance? = null, val trafficLightOffset: Distance? = null, val tollgateName: TextWithPhonetics? = null, val paymentTypes: Set<TollgatePaymentType> = emptySet()) : Instruction
Instruction indicating an upcoming tollgate.
Important: This is a Public Preview API. It may be changed or removed at any time.
See also
Parameters
tollgateName
The name of the tollgate, if any.
paymentTypes
The payment types accepted at the tollgate, if available.
Constructors
Link copied to clipboard
fun TollgateInstruction(id: UniqueId = UniqueId(), routeOffset: Distance, travelTime: Duration, maneuverPoint: GeoPoint, drivingSide: DrivingSide, combineWithNext: Boolean, announcements: List<Announcement> = emptyList(), previousSignificantRoad: RoadInformation? = null, nextSignificantRoad: RoadInformation? = null, routePath: List<RouteCoordinate> = emptyList(), intersectionName: TextWithPhonetics? = null, signpost: Signpost? = null, landmark: Landmark? = null, sideStreetOffset: Distance? = null, trafficLightOffset: Distance? = null, tollgateName: TextWithPhonetics? = null, paymentTypes: Set<TollgatePaymentType> = emptySet())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A List of RouteCoordinates that represents a route path.
Link copied to clipboard