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()
Use constructor with parameters in your code.

RequestPoint(@NonNull Point point,
             @NonNull RequestPointType type,
             @Nullable java.lang.String pointContext,
             @Nullable java.lang.String drivingArrivalPointId)

Methods

Type and modifiers

Method and Description

synchronized Point

getPoint()
The request point.

synchronized RequestPointType

getType()
The type of request point specified.

synchronized java.lang.String

getPointContext()
Opaque string that describe entrances, driving arrival points and so on.

synchronized java.lang.String

getDrivingArrivalPointId()
Specifies what driving arrival point to use.

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

RequestPoint

RequestPoint()

Use constructor with parameters in your code.

This one is for serialization only!


RequestPoint

RequestPoint(@NonNull Point point,
             @NonNull RequestPointType type,
             @Nullable java.lang.String pointContext,
             @Nullable java.lang.String drivingArrivalPointId)


Methods

getPoint

@NonNull
Point getPoint()

The request point.


getType

@NonNull
RequestPointType getType()

The type of request point specified.


getPointContext

@Nullable
java.lang.String getPointContext()

Opaque string that describe entrances, driving arrival points and so on.

Optional field, can be null.


getDrivingArrivalPointId

@Nullable
java.lang.String getDrivingArrivalPointId()

Specifies what driving arrival point to use.

If point is not specified then server will select one.

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()