Class TravelEstimation

com.yandex.mapkit.transport.masstransit

java.lang.Object ⇽ TravelEstimation

public class TravelEstimation

Arrival and departure time estimations for time-dependent routes or sections of time-dependent routes.

Constructors

TravelEstimation(@NonNull Time departureTime, @NonNull Time arrivalTime)
TravelEstimation()

Use constructor with parameters in your code.

Methods

Time getArrivalTime()

Arrival time for a route or a route section.

Time getDepartureTime()

Departure time for a route or a route section.

void serialize(Archive archive)

Constructor Detail

TravelEstimation

public TravelEstimation (@NonNull Time departureTime, @NonNull Time arrivalTime)

TravelEstimation

public TravelEstimation ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getArrivalTime

public Time getArrivalTime ()

Arrival time for a route or a route section.

getDepartureTime

public Time getDepartureTime ()

Departure time for a route or a route section.

serialize

public void serialize (Archive archive)