Class ArrivalPoint

com.yandex.mapkit.arrival

java.lang.Object ⇽ ArrivalPoint

public class ArrivalPoint

An arrival point for a place (the position to drive/walk to if you want to visit the place).

For example, named entrance into the building.

Constructors

ArrivalPoint(@Nullable String name, @NonNull Point point, @Nullable Direction direction)
ArrivalPoint()

Use constructor with parameters in your code.

Methods

Direction getDirection()

Azimuth for the outside normal to the building.

String getName()

Optional name for an arrival point, e.g.

Point getPoint()

Arrival point position.

void serialize(Archive archive)

Constructor Detail

ArrivalPoint

public ArrivalPoint (@Nullable String name, @NonNull Point point, @Nullable Direction direction)

ArrivalPoint

public ArrivalPoint ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getDirection

public Direction getDirection ()

Azimuth for the outside normal to the building.

Optional field, can be null.

getName

public String getName ()

Optional name for an arrival point, e.g.

'exit 4' or 'main entrance'.Optional field, can be null.

getPoint

public Point getPoint ()

Arrival point position.

serialize

public void serialize (Archive archive)