public final class MassTransitRouteResult extends SearchResult
SearchResult.ERRORNO
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
error, status
构造器和说明 |
---|
MassTransitRouteResult() |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
TransitResultNode |
getDestination()
获得终点
|
TransitResultNode |
getOrigin()
获得起点
|
java.util.List<MassTransitRouteLine> |
getRouteLines()
获取所有换乘路线方案
|
SuggestAddrInfo |
getSuggestAddrInfo()
当
SearchResult.error 为 ERRORNO#AMBIGUOUS_ROURE_ADDR 时
可通过此接口获取建议信息 |
TaxiInfo |
getTaxiInfo()
获得打车信息
|
int |
getTotal()
获得所有路线总数
|
void |
setDestination(TransitResultNode destination) |
void |
setOrigin(TransitResultNode origin) |
void |
setRoutelines(java.util.List<MassTransitRouteLine> routelines) |
void |
setSuggestAddrInfo(SuggestAddrInfo suggestAddrInfo) |
void |
setTaxiInfo(TaxiInfo massTaxiInfo) |
void |
setTotal(int total) |
void |
writeToParcel(Parcel dest,
int flags) |
public TaxiInfo getTaxiInfo()
public void setTaxiInfo(TaxiInfo massTaxiInfo)
public TransitResultNode getOrigin()
public void setOrigin(TransitResultNode origin)
public TransitResultNode getDestination()
public void setDestination(TransitResultNode destination)
public int getTotal()
public void setTotal(int total)
public java.util.List<MassTransitRouteLine> getRouteLines()
public void setRoutelines(java.util.List<MassTransitRouteLine> routelines)
public SuggestAddrInfo getSuggestAddrInfo()
SearchResult.error
为 ERRORNO#AMBIGUOUS_ROURE_ADDR
时
可通过此接口获取建议信息public void setSuggestAddrInfo(SuggestAddrInfo suggestAddrInfo)
public int describeContents()
describeContents
在类中 SearchResult
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在类中 SearchResult