目录

TransitSection

Class Info

public class TransitSection

公交路段的实体类对象。

Public Method Summary

Qualifier and Type

Method Name and Description

List<Actions>

getActions()

获取执行的行动集合。

Agency

getAgency()

获取特定机构的信息。

Arrival

getArrival()

获取公交到达信息。

Departure

getDeparture()

获取公交离开信息。

List<Fares>

getFares()

获取支付这部分路线的车票清单。

String

getId()

获取唯一标识。

List<IntermediateStops>

getIntermediateStops()

获取公交线路的出发地和目的地之间的中间站,如果此信息不可用或未请求,则可能会丢失。

String

getLanguage()

获取本地路段语言。

List<Notices>

getNotices()

获取包含与该路线相关的通知列表。

List<Passthrough>

getPassthrough()

获取经过的途经点列表。

String

getPolyline()

获取折线(坐标对或坐标三元组列表的有损压缩表示)。

Summary

getSummary()

获取整个部分的关键属性(例如,持续时间、长度)的总值,包括 preActions、postActions 和部分的旅行部分。

Transport

getTransport()

获取交通工具的信息。

TravelSummary

getTravelSummary()

获取仅针对出发和到达之间的关键属性的总值(例如,持续时间,长度), preActions 和 postActions 被排除在外。

List<TurnByTurnActions>

getTurnByTurnActions()

获取路段行驶部分的转弯引导动作集合。

String

getType()

获取标识类型。

String

toString()

返回该对象的字符串表示。

Public Methods

[h2]getActions

Method

public List<Actions> getActions()

获取执行的行动集合。

Returns

Type

Description

List<Actions>

执行的行动集合。

[h2]getAgency

Method

public Agency getAgency()

获取特定机构的信息。

Returns

Type

Description

Agency

特定机构的信息。

[h2]getArrival

Method

public Arrival getArrival()

获取公交到达信息。

Returns

Type

Description

Arrival

公交到达信息。

[h2]getDeparture

Method

public Departure getDeparture()

获取公交离开信息。

Returns

Type

Description

Departure

公交离开信息。

[h2]getFares

Method

public List<Fares> getFares()

获取支付这部分路线的车票清单。

Returns

Type

Description

List<Fares>

支付这部分路线的车票清单。

[h2]getId

Method

public String getId()

获取唯一标识。

Returns

Type

Description

String

唯一标识。

[h2]getIntermediateStops

Method

public List<IntermediateStops> getIntermediateStops()

获取公交线路的出发地和目的地之间的中间站,如果此信息不可用或未请求,则可能会丢失。

Returns

Type

Description

List<IntermediateStops>

公交线路的出发地和目的地之间的中间站,如果此信息不可用或未请求,则可能会丢失。

[h2]getLanguage

Method

public String getLanguage()

获取本地路段语言。

Returns

Type

Description

String

本地路段语言。

[h2]getNotices

Method

public List<Notices> getNotices()

获取包含与该路线相关的通知列表。

Returns

Type

Description

List<Notices>

包含与该路线相关的通知列表。

[h2]getPassthrough

Method

public List<Passthrough> getPassthrough()

获取经过的途经点列表。

Returns

Type

Description

List<Passthrough>

经过的途经点列表。

[h2]getPolyline

Method

public String getPolyline()

获取折线(坐标对或坐标三元组列表的有损压缩表示)。

Returns

Type

Description

String

折线(坐标对或坐标三元组列表的有损压缩表示)。

[h2]getSummary

Method

public Summary getSummary()

获取整个部分的关键属性(例如,持续时间、长度)的总值,包括 preActions、postActions 和部分的旅行部分。

Returns

Type

Description

Summary

整个部分的关键属性(例如,持续时间、长度)的总值,包括 preActions、postActions 和部分的旅行部分。

[h2]getTransport

Method

public Transport getTransport()

获取交通工具的信息。

Returns

Type

Description

Transport

交通工具的信息。

[h2]getTravelSummary

Method

public TravelSummary getTravelSummary()

获取仅针对出发和到达之间的关键属性的总值(例如,持续时间,长度), preActions 和 postActions 被排除在外。

Returns

Type

Description

TravelSummary

仅针对出发和到达之间的关键属性的总值(例如,持续时间,长度), preActions 和 postActions 被排除在外。

[h2]getTurnByTurnActions

Method

public List<TurnByTurnActions> getTurnByTurnActions()

获取路段行驶部分的转弯引导动作集合。

Returns

Type

Description

List<TurnByTurnActions>

路段行驶部分的转弯引导动作集合。

[h2]getType

Method

public String getType()

获取标识类型。

Returns

Type

Description

String

标识类型。

[h2]toString

Method

public String toString()

返回该对象的字符串表示。

Returns

Type

Description

String

该对象的字符串表示。