MMKRequestPoint

@interface MMKRequestPoint : NSObject

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

Class methods

+ (nonnull MMKRequestPoint *)requestPointWithPoint:(nonnull MMKPoint *)point
                                              type:( MMKRequestPointType)type
                                      pointContext:(nullable NSString *)pointContext
                             drivingArrivalPointId:(nullable NSString *)drivingArrivalPointId;

Properties

@property (nonatomic, readonly, nonnull) MMKPoint *point;
The request point

@property (nonatomic, readonly) MMKRequestPointType type;
The type of request point specified

@property (nonatomic, readonly, nullable) NSString *pointContext;
Opaque string that describe entrances, driving arrival points and so on

@property (nonatomic, readonly, nullable) NSString *drivingArrivalPointId;
Specifies what driving arrival point to use

Class methods

requestPointWithPoint:type:pointContext:drivingArrivalPointId:

+ (nonnull MMKRequestPoint *)requestPointWithPoint:(nonnull MMKPoint *)point
                                              type:( MMKRequestPointType)type
                                      pointContext:(nullable NSString *)pointContext
                             drivingArrivalPointId:(nullable NSString *)drivingArrivalPointId;


Properties

point

@property (nonatomic, readonly, nonnull) MMKPoint *point;

The request point.


type

@property (nonatomic, readonly) MMKRequestPointType type;

The type of request point specified.


pointContext

@property (nonatomic, readonly, nullable) NSString *pointContext;

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

Optional field, can be nil.


drivingArrivalPointId

@property (nonatomic, readonly, nullable) NSString *drivingArrivalPointId;

Specifies what driving arrival point to use. If point is not specified then server will select one.

Optional field, can be nil.