Class Transport

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

class Transport implements Serializable

Contains information about the mass transit ride section of a mapkit.transport.masstransit.Route for a specific mass transit mapkit.transport.masstransit.Line.

Nested Class Summary

Modifier and Type

Interface

Description

static

TransportThread

mapkit.transport.masstransit.Thread specific properties of a mass transit ride section of a mapkit.transport.masstransit.Route.

Summary

Constructors

Signature and Description

Transport()
Use constructor with parameters in your code.

Transport(@NonNull Line line,
          @NonNull java.util.List<TransportThread> transports,
          @NonNull java.util.List<TransportContour> transportContours)

Methods

Type and modifiers

Method and Description

synchronized Line

getLine()
Mass transit line.

synchronized java.util.List<TransportThread>

getTransports()
Collection of mass transit threads of the specified line suitable for the constructed route.

synchronized java.util.List<TransportContour>

getTransportContours()
Describes mapkit.transport.masstransit.TransportContour in borders of which this block is located

void

serialize(world.mappable.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

Transport

Transport()

Use constructor with parameters in your code.

This one is for serialization only!


Transport

Transport(@NonNull Line line,
          @NonNull java.util.List<TransportThread> transports,
          @NonNull java.util.List<TransportContour> transportContours)


Methods

getLine

@NonNull
Line getLine()

Mass transit line.


getTransports

@NonNull
java.util.List<TransportThread> getTransports()

Collection of mass transit threads of the specified line suitable for the constructed route.


getTransportContours

@NonNull
java.util.List<TransportContour> getTransportContours()

Describes mapkit.transport.masstransit.TransportContour in borders of which this block is located


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()