Class RoutePoint

com.yandex.mapkit.directions.driving

java.lang.Object ⇽ RoutePoint

public class RoutePoint

Route point metadata (exists for both waypoints and via points).

Constructors

RoutePoint()

Use constructor with parameters in your code.

RoutePoint(@NonNull Point position, @Nullable Point selectedArrivalPoint, @Nullable String drivingArrivalPointId)

Methods

synchronized String getDrivingArrivalPointId()

ID of driving arrival point selected for routing.

String getNativeName()
synchronized Point getPosition()

Position of original route point.

synchronized Point getSelectedArrivalPoint()

Arrival point selected for routing.

void serialize(Archive archive)

Constructor Detail

RoutePoint

public RoutePoint ()

Use constructor with parameters in your code.

This one is for serialization only!

RoutePoint

public RoutePoint (@NonNull Point position, @Nullable Point selectedArrivalPoint, @Nullable String drivingArrivalPointId)

Method Detail

getDrivingArrivalPointId

public synchronized String getDrivingArrivalPointId ()

ID of driving arrival point selected for routing.

Optional field, can be null.

getNativeName

public static String getNativeName ()

getPosition

public synchronized Point getPosition ()

Position of original route point.

getSelectedArrivalPoint

public synchronized Point getSelectedArrivalPoint ()

Arrival point selected for routing.

Optional field, can be null.

serialize

public void serialize (Archive archive)