| 程序包 | 说明 |
|---|---|
| com.amap.api.navi |
导航基础包,提供路径规划、导航等基础功能。
|
| com.amap.api.navi.model |
导航模型包,大部分是通过接口回调透传给用户使用,如:导航路径、导航信息、位置信息等.
|
| com.amap.api.navi.view |
导航视图包,包括了导航SDK中的使用的各种View类。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AMapNaviListener.updateCameraInfo(AMapNaviCameraInfo[] infoArray)
导航过程中的摄像头信息回调函数
Camera information callback function during navigation 注意:该接口仅驾车模式有效 Note: This interface is only valid in driving mode |
void |
SimpleNaviListener.updateCameraInfo(AMapNaviCameraInfo[] infoArray) |
void |
AMapNaviListener.updateIntervalCameraInfo(AMapNaviCameraInfo startCameraInfo,
AMapNaviCameraInfo endCameraInfo,
int status)
导航过程中的区间测速信息回调函数
Interval speed measurement information callback function during navigation 注意:该接口仅驾车模式有效 Note: This interface is only valid in driving mode |
void |
SimpleNaviListener.updateIntervalCameraInfo(AMapNaviCameraInfo startCameraInfo,
AMapNaviCameraInfo endCameraInfo,
int status) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<AMapNaviCameraInfo> |
AMapNaviPath.getAllCameras()
获取全路段的所有摄像头
Get all cameras on the entire route. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AmapCameraOverlay.draw(com.amap.api.maps.AMap aMap,
AMapNaviCameraInfo[] cameras)
绘制路线上的监控小气泡,需要传入地图对象
Draw small monitoring bubbles on the route, requires passing in a map object. |