/tripkit/CommonCoreLegacy/com.skedgo.tripkit.routing
Package-level declarations
Types
Name | Summary |
---|---|
Coordinate | data class Coordinate(val lat: Double, val lng: Double) |
Geofence | data class Geofence(val id: String, val type: String, val trigger: String, val center: Coordinate, val radius: Double, val messageType: String, val messageTitle: String, val messageBody: String) |
GetOffAlertCache | object GetOffAlertCache |
GroupVisibility | enum GroupVisibility : Enum<GroupVisibility> |
LocalCost | @Value.Immutable @Gson.TypeAdapters abstract class LocalCost : Parcelable |
LocalCostAccuracy | enum LocalCostAccuracy : Enum<LocalCostAccuracy> |
MessageType | enum MessageType : Enum<MessageType> |
ModeInfo | class ModeInfo : Parcelable |
Provider | @Gson.TypeAdapters @Value.Immutable abstract class Provider : Parcelable |
PurchasedTicket | data class PurchasedTicket(val id: String? = null, val status: String? = null, val ticketURL: String? = null) |
RealTimeVehicle | open class RealTimeVehicle : Parcelable |
RemoteIcon | annotation class RemoteIcon |
RoadTag | enum RoadTag : Enum<RoadTag> |
RoutingResponse | class RoutingResponse |
SegmentActionTemplates | object SegmentActionTemplates |
SegmentJsonKeys | object SegmentJsonKeys |
SegmentNotesTemplates | object SegmentNotesTemplates |
SegmentType | enum SegmentType : Enum<SegmentType> |
ServiceColor | class ServiceColor : Parcelable |
Shape | data class Shape(var id: Long = 0, var isTravelled: Boolean = false, var stops: List<ServiceStop>? = null, var serviceColor: ServiceColor, var encodedWaypoints: String) : Parcelable |
Source | @Gson.TypeAdapters @Value.Immutable abstract class Source : Parcelable |
Templates | object Templates |
Ticket | data class Ticket(val cost: Double = 0.0, val exchange: Double = 0.0, val fareID: String? = null, val name: String, val price: Double = 0.0, val purchasedTickets: List<PurchasedTicket>? = null, val value: Long) |
Trigger | enum Trigger : Enum<Trigger> |
Trip | class Trip : ITimeRange A Trip will mainly hold a list of TripSegments which denotes how to go from Trip.getFrom to Trip.getTo. |
TripComparators | object TripComparators |
TripGroup | class TripGroup Represents a list of Trips. A list of Trips comprises of a display trip (aka representative trip) and alternative trips. A display trip can be accessed via .getDisplayTrip while alternative trips can be retrieved via .getTrips minus .getDisplayTrip. That's because .getTrips returns a list of Trips including alternative trips and display trip. |
TripGroupComparators | object TripGroupComparators |
TripKitMapTiles | data class TripKitMapTiles(val name: String, val urlTemplates: List<String>, val sources: List<Source>) : Parcelable |
TripSegment | class TripSegment : IRealTimeElement, ITimeRange To go from A to B, sometimes we have to travel X, Y, Z locations between A and B. That means, we travel A to X, then X to Y, then Y to Z, then Z to B which is the destination. To show how to travel from A to X, we use TripSegment. So, in this case, a trip from A to B comprises 6 segments: |
TripSegments | object TripSegments |
TurnByTurn | enum TurnByTurn : Enum<TurnByTurn> |
VehicleComponent | @Value.Immutable @Gson.TypeAdapters abstract class VehicleComponent |
VehicleDrawables | object VehicleDrawables |
VehicleMode | enum VehicleMode : Enum<VehicleMode> As of v11, this denotes local transport icons. |
Visibilities | object Visibilities |