Class Info |
|---|
public class TransitSection Entity class for public transit sections. |
Qualifier and Type | Method Name and Description |
|---|---|
List<Actions> | Obtains a list of executed actions. |
| Obtains information about a specific agency. | |
| Obtains the public transit arrival information. | |
| Obtains the public transit departure information. | |
List<Fares> | getFares() Obtains a list of ticket fees for the route. |
String | getId() Obtains the unique ID. |
List<IntermediateStops> | Obtains intermediate stations between the departure place and destination for this public transit route. If the information is unavailable or not requested, the list of intermediate stations may be empty. |
String | Obtains the language of the local section. |
List<Notices> | Obtains a list of notifications related to the route. |
List<Passthrough> | Obtains a list of pass-through waypoints. |
String | Obtains the polyline (lossy compression of coordinate pairs or coordinate triplets). |
| Obtains the summary of key attributes (such as the duration and length) of the whole section, including preActions, postActions, and a part of the travel. | |
| Obtains the transport tool. | |
| Obtains the summary of key attributes (such as the duration and length) between departure and arrival, excluding preActions and postActions. | |
List<TurnByTurnActions> | Obtains a list of turn-by-turn actions on the driving part of the section. |
String | getType() Obtains the identifier type. |
String | toString() Converts an object into a character string. |
Method |
|---|
public List<Actions> getActions() Obtains a list of executed actions. |
Returns
Type | Description |
|---|---|
List<Actions> | A list of executed actions. |
Method |
|---|
public Agency getAgency() Obtains information about a specific agency. |
Returns
Type | Description |
|---|---|
Information about a specific agency. |
Method |
|---|
public Arrival getArrival() Obtains the public transit arrival information. |
Returns
Type | Description |
|---|---|
Public transit arrival information. |
Method |
|---|
public Departure getDeparture() Obtains the public transit departure information. |
Returns
Type | Description |
|---|---|
Public transit departure information. |
Method |
|---|
public List<Fares> getFares() Obtains a list of ticket fees for the route. |
Returns
Type | Description |
|---|---|
List<Fares> | A list of ticket fees for the route. |
Method |
|---|
public String getId() Obtains the unique ID. |
Returns
Type | Description |
|---|---|
String | Unique ID. |
Method |
|---|
public List<IntermediateStops> getIntermediateStops() Obtains intermediate stations between the departure place and destination for this public transit route. If the information is unavailable or not requested, the list of intermediate stations may be empty. |
Returns
Type | Description |
|---|---|
List<IntermediateStops> | Intermediate stations between the departure place and destination for this public transit route. If the information is unavailable or not requested, the list of intermediate stations may be empty. |
Method |
|---|
public String getLanguage() Obtains the language of the local section. |
Returns
Type | Description |
|---|---|
String | Language of the local section. |
Method |
|---|
public List<Notices> getNotices() Obtains a list of notifications related to the route. |
Returns
Type | Description |
|---|---|
List<Notices> | A list of notifications related to the route. |
Method |
|---|
public List<Passthrough> getPassthrough() Obtains a list of pass-through waypoints. |
Returns
Type | Description |
|---|---|
List<Passthrough> | A list of pass-through waypoints. |
Method |
|---|
public String getPolyline() Obtains the polyline (lossy compression of coordinate pairs or coordinate triplets). |
Returns
Type | Description |
|---|---|
String | Polyline (lossy compression of coordinate pairs or coordinate triplets). |
Method |
|---|
public Summary getSummary() Obtains the summary of key attributes (such as the duration and length) of the whole section, including preActions, postActions, and a part of the travel. |
Returns
Type | Description |
|---|---|
Summary of key attributes (such as the duration and length) of the whole section, including preActions, postActions, and a part of the travel. |
Method |
|---|
public Transport getTransport() Obtains the transport tool. |
Returns
Type | Description |
|---|---|
Transport tool. |
Method |
|---|
public TravelSummary getTravelSummary() Obtains the summary of key attributes (such as the duration and length) between departure and arrival, excluding preActions and postActions. |
Returns
Type | Description |
|---|---|
Summary of key attributes (such as the duration and length) between departure and arrival, excluding preActions and postActions. |
Method |
|---|
public List<TurnByTurnActions> getTurnByTurnActions() Obtains a list of turn-by-turn actions on the driving part of the section. |
Returns
Type | Description |
|---|---|
List<TurnByTurnActions> | A list of turn-by-turn actions on the driving part of the section. |