Class Summary

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ Summary

public class Summary

Contains brief information associated with a route constructed by the mass transit router.

Constructors

Summary()

Use constructor with parameters in your code.

Summary(@NonNull Weight weight, @Nullable TravelEstimation estimation)

Methods

synchronized TravelEstimation getEstimation()

Arrival and departure time estimations for time-dependent routes.

String getNativeName()
synchronized Weight getWeight()

Contains the route time, distance of the walking part, and the number of transfers.

void serialize(Archive archive)

Constructor Detail

Summary

public Summary ()

Use constructor with parameters in your code.

This one is for serialization only!

Summary

public Summary (@NonNull Weight weight, @Nullable TravelEstimation estimation)

Method Detail

getEstimation

public synchronized TravelEstimation getEstimation ()

Arrival and departure time estimations for time-dependent routes.

Optional field, can be null.

getNativeName

public static String getNativeName ()

getWeight

public synchronized Weight getWeight ()

Contains the route time, distance of the walking part, and the number of transfers.

serialize

public void serialize (Archive archive)