MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKTransport

class MMKTransport : NSObject

Undocumented

Summary

Instance methods

func createBicycleRouter() -> MMKBicycleRouter
Creates a manager that builds bicycle routes using the origin and destination points

func createMasstransitRouter() -> MMKMasstransitRouter
Creates a manager that builds public transit routes using the origin and destination points

func createPedestrianRouter() -> MMKPedestrianRouter
Creates a manager that builds pedestrian routes using the origin and destination points

func createBicycleRouterV2() -> MMKBicycleRouterV2
Creates a manager that builds bicycle routes using the origin and destination points

func createScooterRouter() -> MMKBicycleRouterV2
Creates a manager that builds scooter routes using the origin and destination points

Properties

var adjustedClockMMKAdjustedClock { get }
Returns the clock that is constantly synchronized with the server

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

createBicycleRouter()

func createBicycleRouter() -> MMKBicycleRouter

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


createMasstransitRouter()

func createMasstransitRouter() -> MMKMasstransitRouter

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


createPedestrianRouter()

func createPedestrianRouter() -> MMKPedestrianRouter

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


createBicycleRouterV2()

func createBicycleRouterV2() -> MMKBicycleRouterV2

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


createScooterRouter()

func createScooterRouter() -> MMKBicycleRouterV2

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


Properties

adjustedClock

var adjustedClock: MMKAdjustedClock { get }

Returns the clock that is constantly synchronized with the server.


isValid

var isValid: Bool { get }

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.