public final class TransitRouteResult extends SearchResult
SearchResult.ERRORNO
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
error, status
Modifier | Constructor and Description |
---|---|
|
TransitRouteResult() |
protected |
TransitRouteResult(Parcel in) |
Modifier and Type | Method and Description |
---|---|
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
in class SearchResult
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class SearchResult