Distance Step
constructor(distance: String, duration: String, polyline: String, startLocation: LatLng, endLocation: LatLng, travelMode: String, instructions: DistanceInstructions? = null)
Parameters
distance
the distance as text covered by this step until the next step.
duration
the typical time as text required to perform the step, until the next step
polyline
the polyline representation of the step (encoded with the poyline algorithm
start Location
end Location
travel Mode
the type of travel mode used
instructions