Важно

This feature is available in the Full MapKit SDK version

YMKTransport

class YMKTransport : NSObject

Undocumented

Summary

Instance methods

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

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

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

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

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

Properties

var adjustedClockYMKAdjustedClock { 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() -> YMKBicycleRouter

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


createMasstransitRouter()

func createMasstransitRouter() -> YMKMasstransitRouter

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


createPedestrianRouter()

func createPedestrianRouter() -> YMKPedestrianRouter

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


createBicycleRouterV2()

func createBicycleRouterV2() -> YMKBicycleRouterV2

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


createScooterRouter()

func createScooterRouter() -> YMKBicycleRouterV2

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


Properties

adjustedClock

var adjustedClock: YMKAdjustedClock { 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.


Предыдущая
Следующая