public class AMapNaviPathGroup
extends java.lang.Object
| 构造器和说明 |
|---|
AMapNaviPathGroup(NaviPath[] paths,
long groupPtr) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
AMapNaviPath |
getMainPath()
获取主路线
|
int |
getMainPathIndex()
获取主路线的索引
|
AMapNaviPath |
getPath(int index)
获取指定索引的路线
|
int |
getPathCount()
获取路线组的路线数量
|
boolean |
selectRouteWithIndex(int routeId)
导航前选择主路线
|
public AMapNaviPath getMainPath()
public int getMainPathIndex()
public AMapNaviPath getPath(int index)
index - 路线索引public int getPathCount()
public boolean selectRouteWithIndex(int routeId)
routeId - 主路线的routeId,第一条路为12,第二条为13,第三条为14public void destroy()