Warning

This feature is available in the Full MapKit SDK version

MMKTransport

@interface MMKTransport : NSObject

Undocumented

Summary

Instance methods

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

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

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

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

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

- (nonnull MMKBicycleRouterV2 *)createElectricBikeRouter;
Creates a manager that builds electric bike routes using the origin and destination points

Properties

@property (nonatomic, readonly, nonnull) MMKAdjustedClock *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 MMKBicycleRouter *)createBicycleRouter;

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

Alert

use createBicycleRouterV2 instead


createMasstransitRouter

- (nonnull MMKMasstransitRouter *)createMasstransitRouter;

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


createPedestrianRouter

- (nonnull MMKPedestrianRouter *)createPedestrianRouter;

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


createBicycleRouterV2

- (nonnull MMKBicycleRouterV2 *)createBicycleRouterV2;

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


createScooterRouter

- (nonnull MMKBicycleRouterV2 *)createScooterRouter;

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


createElectricBikeRouter

- (nonnull MMKBicycleRouterV2 *)createElectricBikeRouter;

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


Properties

adjustedClock

@property (nonatomic, readonly, nonnull) MMKAdjustedClock *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.