public static interface DistanceSearch.OnDistanceSearchListener
限定符和类型 | 方法和说明 |
---|---|
void |
onDistanceSearched(DistanceResult distanceResult,
int errorCode)
返回距离测量搜索异步处理结果
|
void onDistanceSearched(DistanceResult distanceResult, int errorCode)
distanceResult
- 距离测量结果errorCode
- 返回结果成功或者失败的响应码。1000为成功,其他为失败(详细信息参见网站开发指南-错误码对照表)。