Class Summary

Warning

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.transport.masstransit

java.lang.Object
    ↳ com.yandex.mapkit.transport.masstransit.Summary

class Summary implements Serializable

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

Summary

Constructors

Signature and Description

Summary()
Use constructor with parameters in your code.

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

Methods

Type and modifiers

Method and Description

synchronized Weight

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

synchronized TravelEstimation

getEstimation()
Arrival and departure time estimations for time-dependent routes.

synchronized Flags

getFlags()
Specific properties of the route.

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

Summary

Summary()

Use constructor with parameters in your code.

This one is for serialization only!


Summary

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


Methods

getWeight

@NonNull
Weight getWeight()

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


getEstimation

@Nullable
TravelEstimation getEstimation()

Arrival and departure time estimations for time-dependent routes.

Optional field, can be null.


getFlags

@Nullable
Flags getFlags()

Specific properties of the route.

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()