Class TrafficTypeSegment

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ TrafficTypeSegment

public class TrafficTypeSegment

Describes part of bicycle path with the same traffic type.

Constructors

TrafficTypeSegment(@NonNull TrafficTypeID trafficType, @NonNull Subpolyline subpolyline)
TrafficTypeSegment()

Use constructor with parameters in your code.

Methods

Subpolyline getSubpolyline()
TrafficTypeID getTrafficType()
void serialize(Archive archive)

Constructor Detail

TrafficTypeSegment

public TrafficTypeSegment (@NonNull TrafficTypeID trafficType, @NonNull Subpolyline subpolyline)

TrafficTypeSegment

public TrafficTypeSegment ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getSubpolyline

public Subpolyline getSubpolyline ()

getTrafficType

public TrafficTypeID getTrafficType ()

serialize

public void serialize (Archive archive)