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

BicycleRouter

createBicycleRouter()

MasstransitRouter

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

PedestrianRouter

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

BicycleRouterV2

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

BicycleRouterV2

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

BicycleRouterV2

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

AdjustedClock

getAdjustedClock()
Returns the clock that is constantly synchronized with the server.

boolean

isValid()
Tells if this Transport is valid or not.

Methods

createBicycleRouter

@Deprecated @NonNull
BicycleRouter createBicycleRouter()

Alert

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


createMasstransitRouter

@NonNull
MasstransitRouter createMasstransitRouter()

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


createPedestrianRouter

@NonNull
PedestrianRouter createPedestrianRouter()

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


createBicycleRouterV2

@NonNull
BicycleRouterV2 createBicycleRouterV2()

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


createScooterRouter

@NonNull
BicycleRouterV2 createScooterRouter()

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


createElectricBikeRouter

@NonNull
BicycleRouterV2 createElectricBikeRouter()

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


getAdjustedClock

@NonNull
AdjustedClock getAdjustedClock()

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.