PTRouteSegment class Routes & Navigation

Public transport route segment

Constructors

PTRouteSegment(int pointerId)

Properties

agencyFareUrl String
Get agency fare URL
no setter
agencyName String
Get agency name
no setter
agencyPhone String
Get agency phone
no setter
agencyUrl String
Get agency URL
no setter
arrivalDelayInSeconds int
Get arrival delay in seconds
no setter
arrivalTime DateTime?
Get arrival time
no setter
countAlerts int
Get count of alerts in the route segment
no setter
departureDelayInSeconds int
Get departure delay in seconds
no setter
departureTime DateTime?
Get departure time
no setter
geographicArea RectangleGeographicArea
Get geographic area of the route
no setterinherited
hasBicycleSupport bool
Get if the route segment has bicycle support
no setter
hashCode int
The hash code for this object.
no setterinherited
hasWheelchairSupport bool
Get wheelchair support
no setter
incursCosts bool
Method to check if traveling the route or route segment incurs cost to the user.
no setterinherited
instructions List<RouteInstruction>
Get route instructions list.
no setterinherited
isCommon bool
Check if this segment is of common type.
no setterinherited
isSignificant bool
Is significant route segment
no setter
isStationWalk bool
Is station walk route segment
no setter
lineBlockID int
Get line block ID of the route segment
no setter
lineColor Color
Get line color of the route segment
no setter
lineFrom String
Get line from
no setter
lineTextColor Color
Get line text color of the route segment
no setter
lineTowards String
Get line towards
no setter
mapId int
no setterinherited
name String
Get name
no setter
platformCode String
Get platform code
no setter
pointerId int
no setterinherited
realtimeStatus RealtimeStatus
Get real time status of the route segment
no setter
routeUrl String
Get route URL
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String
Get short name.
no setter
stayOnSameTransit bool
Get if the route segment requires to stay on same transit
no setter
summary String
Get summary of the route segment.
no setterinherited
timeDistance TimeDistance
Get length in meters and estimated travel time in seconds for the route / route segment.
no setterinherited
transitType TransitType
Get transit type of the route segment
no setter
waypoints List<Landmark>
Get the list containing segment start and end waypoints.
no setterinherited

Methods

getAlert(int index) PTAlert
Get alert by index
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited