RadarRoute

class RadarRoute(distance: RadarRouteDistance?, duration: RadarRouteDuration?, geometry: RadarRouteGeometry?)

Represents a route between an origin and a destination.

See also

Constructors

RadarRoute
Link copied to clipboard
fun RadarRoute(distance: RadarRouteDistance?, duration: RadarRouteDuration?, geometry: RadarRouteGeometry?)

Functions

toJson
Link copied to clipboard
fun toJson(): JSONObject

Properties

distance
Link copied to clipboard
val distance: RadarRouteDistance?
The distance of the route.
duration
Link copied to clipboard
val duration: RadarRouteDuration?
The duration of the route.
geometry
Link copied to clipboard
val geometry: RadarRouteGeometry?
The geometry of the route.