Class TrafficLight

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ TrafficLight

public class TrafficLight

A traffic light object.

Constructors

TrafficLight(_NonNull PolylinePosition position)
TrafficLight()

Use constructor with parameters in your code.

Methods

PolylinePosition getPosition()

The position of the traffic light.

void serialize(Archive archive)

Constructor Detail

TrafficLight

public TrafficLight (@NonNull PolylinePosition position)

TrafficLight

public TrafficLight ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getPosition

public PolylinePosition getPosition ()

The position of the traffic light.

serialize

public void serialize (Archive archive)