Class TransportThread
Warning
This feature is available in the Full MapKit SDK version
Package world.mappable.mapkit.transport.masstransit
java.lang.Object
↳ world.mappable.mapkit.transport.masstransit.Transport.TransportThread
static class TransportThread implements Serializable
mapkit.transport.masstransit.Thread specific properties of a mass transit ride section of a mapkit.transport.masstransit.Route.
Summary
Constructors
Signature and Description |
TransportThread() |
TransportThread(@NonNull Thread thread, |
Methods
Type and modifiers |
Method and Description |
|
getThread() |
|
getIsRecommended() |
|
getAlerts() |
|
getAlternateDepartureStop() |
|
getBoardingOptions() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
Constuctors
TransportThread
TransportThread() |
Use constructor with parameters in your code.
This one is for serialization only!
TransportThread
TransportThread(@NonNull Thread thread, |
Methods
getThread
@NonNull |
Mass transit thread.
getIsRecommended
boolean getIsRecommended() |
Indicates that the mass transit router considers this thread the best one for the current section of the constucted route.
getAlerts
@NonNull |
Collection of important annotations for the section.
getAlternateDepartureStop
@Nullable |
If alternateDepartureStop is specified, it specifies the departure location for this particular Thread instead of the first Stop of the Section.
Optional field, can be null.
getBoardingOptions
@Nullable |
Recommended underground boarding options for this section.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |