Class Spot
com.yandex.mapkit.masstransit
java.lang.Object ⇽ Spot
public class Spot
Defines a point on a pedestrian path.
Constructors
Spot() | Use constructor with parameters in your code. |
Spot(PedestrianSpotType type, int position) |
Spot() | Use constructor with parameters in your code. |
Spot(PedestrianSpotType type, int position) |
Methods
String | getNativeName() | |
synchronized int | getPosition() | Index of the point in the section geometry. |
synchronized PedestrianSpotType | getType() | Type of point. |
void | serialize(Archive archive) |
String | getNativeName() | |
synchronized int | getPosition() | Index of the point in the section geometry. |
synchronized PedestrianSpotType | getType() | Type of point. |
void | serialize(Archive archive) |
Constructor Detail
Spot
public Spot ()
Use constructor with parameters in your code.
This one is for serialization only!Spot
public Spot (PedestrianSpotType type, int position)
Method Detail
getNativeName
public static String getNativeName ()
getPosition
public synchronized int getPosition ()
Index of the point in the section geometry.
getType
public synchronized PedestrianSpotType getType ()
Type of point.
Optional field, can be null.serialize
public void serialize (Archive archive)