public interface SynchronizationDisplayListener
Modifier and Type | Method and Description |
---|---|
void |
onDriverPositionUpdated(LatLng driverPosition,
long updateTime)
成功拉取到司机位置的回调
|
void |
onNaviTypeChange(NaviType perNaviType,
NaviType newNaviType)
导航类型切换回调
|
void |
onNormalWayPointInfoResult(java.util.List<WayPointDataInfo> wayPointDataInfo)
返回普通订单途径点信息
|
void |
onRoutePlanInfoFreshFinished(float remainingDistance,
long estimatedTime)
路线刷新完成,返回路线相关信息
|
void |
onSynchronizationProcessResult(int statusCode,
java.lang.String message)
司乘同显过程中,不同处理结果回调
|
void onRoutePlanInfoFreshFinished(float remainingDistance, long estimatedTime)
remainingDistance
- 剩余距离,单位为米estimatedTime
- 预计剩余时间,单位为秒void onDriverPositionUpdated(LatLng driverPosition, long updateTime)
driverPosition
- 司机位置updateTime
- 司机位置更新时间void onSynchronizationProcessResult(int statusCode, java.lang.String message)
statusCode
- 状态码SynchronizationConstants
message
- 对应状态码信息信息void onNormalWayPointInfoResult(java.util.List<WayPointDataInfo> wayPointDataInfo)
wayPointDataInfo
- 途径点信息