public final class TransitRouteResult extends SearchResult
SearchResult.ERRORNO
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
error, status
限定符 | 构造器和说明 |
---|---|
|
TransitRouteResult() |
protected |
TransitRouteResult(Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
java.util.List<TransitRouteLine> |
getRouteLines()
获取所有换乘路线方案
|
SuggestAddrInfo |
getSuggestAddrInfo()
当
SearchResult.error 为 ERRORNO#AMBIGUOUS_ROURE_ADDR 时
可通过此接口获取建议信息 |
TaxiInfo |
getTaxiInfo()
获取此路线的打车信息
|
void |
setRoutelines(java.util.List<TransitRouteLine> routelines) |
void |
setSuggestAddrInfo(SuggestAddrInfo suggestAddrInfo) |
void |
setTaxiInfo(TaxiInfo taxiInfo) |
void |
writeToParcel(Parcel dest,
int flags) |
public TransitRouteResult()
protected TransitRouteResult(Parcel in)
public TaxiInfo getTaxiInfo()
public void setTaxiInfo(TaxiInfo taxiInfo)
public void setRoutelines(java.util.List<TransitRouteLine> routelines)
public java.util.List<TransitRouteLine> getRouteLines()
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