Class Entrance

com.yandex.mapkit.search

java.lang.Object ⇽ Entrance

public class Entrance

An entrance to a building.

Constructors

Entrance()

Use constructor with parameters in your code.

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

Methods

synchronized Direction getDirection()

Optional field, can be null.

synchronized String getName()

Optional field, can be null.

String getNativeName()
synchronized Point getPoint()
void serialize(Archive archive)

Constructor Detail

Entrance

public Entrance ()

Use constructor with parameters in your code.

This one is for serialization only!

Entrance

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

Method Detail

getDirection

public synchronized Direction getDirection ()

Optional field, can be null.

getName

public synchronized String getName ()

Optional field, can be null.

getNativeName

public static String getNativeName ()

getPoint

public synchronized Point getPoint ()

serialize

public void serialize (Archive archive)