Package com.yandex.mapkit
Class RequestPoint
java.lang.Object
↳ com.yandex.mapkit.RequestPoint
class RequestPoint implements Serializable
There are two types of request points.
A waypoint is a destination. Use it when you plan to stop there. Via points (throughpoints) correct the route to make it pass through all the via points. Waypoints are guaranteed to be between sections in the resulting route. Via points are embedded into sections.
For each request point, you can provide a point context. It's an opaque string that describe entrances, driving arrival points and so on. If such context is provided then a client will get routes to those additional points.
Summary
Constructors
Signature and Description |
RequestPoint() |
RequestPoint(@NonNull Point point, |
Methods
Type and modifiers |
Method and Description |
|
getPoint() |
|
getType() |
|
getPointContext() |
|
getDrivingArrivalPointId() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
RequestPoint
RequestPoint() |
Use constructor with parameters in your code.
This one is for serialization only!
RequestPoint
RequestPoint(@NonNull Point point, |
Methods
getPoint
@NonNull |
The request point.
getType
@NonNull |
The type of request point specified.
getPointContext
@Nullable |
Opaque string that describe entrances, driving arrival points and so on.
Optional field, can be null.
getDrivingArrivalPointId
@Nullable |
Specifies what driving arrival point to use.
If point is not specified then server will select one.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |