public final class DrivingRouteResult extends SearchResult
SearchResult.ERRORNO
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
error, status
Modifier | Constructor and Description |
---|---|
|
DrivingRouteResult() |
protected |
DrivingRouteResult(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.List<DrivingRouteLine> |
getRouteLines()
获取所有规划路线方案
|
SuggestAddrInfo |
getSuggestAddrInfo()
获取路线建议搜索信息
|
TaxiInfo |
getTaxiInfo()
Deprecated.
|
java.util.List<TaxiInfo> |
getTaxiInfos() |
void |
setRouteLines(java.util.List<DrivingRouteLine> routeLines) |
void |
setSuggestAddrInfo(SuggestAddrInfo suggestAddrInfo) |
void |
setTaxiInfos(java.util.List<TaxiInfo> taxiInfos) |
void |
writeToParcel(Parcel dest,
int flags) |
public DrivingRouteResult()
protected DrivingRouteResult(Parcel in)
@Deprecated public TaxiInfo getTaxiInfo()
public java.util.List<TaxiInfo> getTaxiInfos()
public void setTaxiInfos(java.util.List<TaxiInfo> taxiInfos)
public void setRouteLines(java.util.List<DrivingRouteLine> routeLines)
public java.util.List<DrivingRouteLine> 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