Warning

This feature is available in the Full MapKit SDK version

YMKTransport

@interface YMKTransport : NSObject

Undocumented

Summary

Instance methods

- (nonnull YMKBicycleRouter *)createBicycleRouter;
Creates a manager that builds bicycle routes using the origin and destination points

- (nonnull YMKMasstransitRouter *)createMasstransitRouter;
Creates a manager that builds public transit routes using the origin and destination points

- (nonnull YMKPedestrianRouter *)createPedestrianRouter;
Creates a manager that builds pedestrian routes using the origin and destination points

- (nonnull YMKBicycleRouterV2 *)createBicycleRouterV2;
Creates a manager that builds bicycle routes using the origin and destination points

- (nonnull YMKBicycleRouterV2 *)createScooterRouter;
Creates a manager that builds scooter routes using the origin and destination points

Properties

@property (nonatomic, readonly, nonnull) YMKAdjustedClock *adjustedClock;
Returns the clock that is constantly synchronized with the server

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

createBicycleRouter

- (nonnull YMKBicycleRouter *)createBicycleRouter;

Creates a manager that builds bicycle routes using the origin and destination points.


createMasstransitRouter

- (nonnull YMKMasstransitRouter *)createMasstransitRouter;

Creates a manager that builds public transit routes using the origin and destination points.


createPedestrianRouter

- (nonnull YMKPedestrianRouter *)createPedestrianRouter;

Creates a manager that builds pedestrian routes using the origin and destination points.


createBicycleRouterV2

- (nonnull YMKBicycleRouterV2 *)createBicycleRouterV2;

Creates a manager that builds bicycle routes using the origin and destination points.


createScooterRouter

- (nonnull YMKBicycleRouterV2 *)createScooterRouter;

Creates a manager that builds scooter routes using the origin and destination points.


Properties

adjustedClock

@property (nonatomic, readonly, nonnull) YMKAdjustedClock *adjustedClock;

Returns the clock that is constantly synchronized with the server.


valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.