Interface Transport
Warning
This feature is available in the Full MapKit SDK version
Package world.mappable.mapkit.transport
interface Transport
Summary
Methods
Type and modifiers |
Method and Description |
createMasstransitRouter() |
|
createPedestrianRouter() |
|
createBicycleRouterV2() |
|
createScooterRouter() |
|
createElectricBikeRouter() |
|
getAdjustedClock() |
|
boolean |
isValid() |
Methods
createBicycleRouter
@Deprecated @NonNull |
Alert
use createBicycleRouterV2 instead Creates a manager that builds bicycle routes using the origin and destination points.
createMasstransitRouter
@NonNull |
Creates a manager that builds public transit routes using the origin and destination points.
createPedestrianRouter
@NonNull |
Creates a manager that builds pedestrian routes using the origin and destination points.
createBicycleRouterV2
@NonNull |
Creates a manager that builds bicycle routes using the origin and destination points.
createScooterRouter
@NonNull |
Creates a manager that builds scooter routes using the origin and destination points.
createElectricBikeRouter
@NonNull |
Creates a manager that builds electric bike routes using the origin and destination points.
getAdjustedClock
@NonNull |
Returns the clock that is constantly synchronized with the server.
isValid
boolean isValid() |
Tells if this Transport is valid or not.
Any other method (except for this one) called on an invalid Transport will throw java.lang.RuntimeException. An instance 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.