Class Taxi

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.Taxi

class Taxi implements Serializable

Represents a taxi part of route.

Summary

Constructors

Signature and Description

Taxi()
Use constructor with parameters in your code.

Taxi(@NonNull java.util.List<JamSegment> jamSegments)

Methods

Type and modifiers

Method and Description

synchronized java.util.List<JamSegment>

getJamSegments()
Traffic conditions on the given part of route.

void

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

static java.lang.String

getNativeName()

Constuctors

Taxi

Taxi()

Use constructor with parameters in your code.

This one is for serialization only!


Taxi

Taxi(@NonNull java.util.List<JamSegment> jamSegments)


Methods

getJamSegments

@NonNull
java.util.List<JamSegment> getJamSegments()

Traffic conditions on the given part of route.


serialize

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


getNativeName

java.lang.String getNativeName()