public final class DrivingRouteResult extends SearchResult
SearchResult.ERRORNO
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
error, status
限定符 | 构造器和说明 |
---|---|
|
DrivingRouteResult() |
protected |
DrivingRouteResult(Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
java.util.List<DrivingRouteLine> |
getRouteLines()
获取所有规划路线方案
|
SuggestAddrInfo |
getSuggestAddrInfo()
获取路线建议搜索信息
当
SearchResult.error 值为ERRORNO#AMBIGUOUS_ROURE_ADDR 时,建议信息不为空
|
TaxiInfo |
getTaxiInfo()
已过时。
|
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
在类中 SearchResult
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在类中 SearchResult