| java.lang.Object | |
| ↳ | com.tencent.map.lssupport.bean.TLSBRoute |
路线
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TLSBRoute() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | available() | ||||||||||
| void | clear() | ||||||||||
| void |
copy(TLSBRoute route)
拷贝数据
| ||||||||||
| TLSLatlng |
getDestPosition()
终点位置
| ||||||||||
| String |
getNavSessionId()
获取导航会话ID
| ||||||||||
| String |
getOrderId()
获取路线关联的订单ID
| ||||||||||
| List<TLSDWayPointInfo> |
getOriginalWayPoints()
获取原始途经点
TLSDWayPointInfo信息。 | ||||||||||
| List<TLSLatlng> |
getPoints()
获取路线点
TLSLatlng串。 | ||||||||||
| int |
getRecalculateType()
返回偏航类型
| ||||||||||
| int |
getRemainingDistance()
获取剩余距离。
| ||||||||||
| int |
getRemainingTime()
获取剩余时间。
| ||||||||||
| int |
getRemainingTrafficCount()
返回剩余红绿灯个数
| ||||||||||
| String |
getRouteId()
获取路线id。
| ||||||||||
| List<TLSBRouteSegment> |
getSegments()
返回路线分段
| ||||||||||
| int |
getSourceFrom()
返回数据来源
| ||||||||||
| TLSLatlng |
getStartPosition()
起点位置
| ||||||||||
| String |
getTags()
返回路线标签
| ||||||||||
| List<TLSBRouteTrafficItem> |
getTrafficItems()
获取路况单元
TLSBRouteTrafficItem信息。 | ||||||||||
| List<TLSBWayPoint> |
getWayPoints()
获取途经点
TLSBWayPoint信息。 | ||||||||||
| boolean |
isDestChanged()
目的地是否变更
| ||||||||||
| boolean | isOnTripSelected() | ||||||||||
| boolean | isPickUpSelected() | ||||||||||
| void |
setDestChanged(boolean destChanged)
设置目的地已经变更
| ||||||||||
| void | setDestPosition(TLSLatlng destPosition) | ||||||||||
| void |
setNavSessionId(String navSessionId)
设置导航会话ID
| ||||||||||
| void | setOnTripSelected(boolean onTripSelected) | ||||||||||
| void | setOrderId(String orderId) | ||||||||||
| void | setOriginalWayPoints(List<TLSDWayPointInfo> originalWayPoints) | ||||||||||
| void | setPickUpSelected(boolean pickUpSelected) | ||||||||||
| void | setPoints(List<TLSLatlng> points) | ||||||||||
| void |
setRecalculateType(int recalculateType)
设置偏航类型
| ||||||||||
| void | setRemainingDistance(int remainingDistance) | ||||||||||
| void | setRemainingTime(int remainingTime) | ||||||||||
| void | setRemainingTrafficCount(int remainingTrafficCount) | ||||||||||
| void | setRouteId(String routeId) | ||||||||||
| void | setSegments(List<TLSBRouteSegment> segments) | ||||||||||
| void | setSourceFrom(int sourceFrom) | ||||||||||
| void | setStartPosition(TLSLatlng startPosition) | ||||||||||
| void | setTags(String tags) | ||||||||||
| void | setTrafficItems(List<TLSBRouteTrafficItem> trafficItems) | ||||||||||
| void | setWayPoints(List<TLSBWayPoint> wayPoints) | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
获取导航会话ID
获取路线关联的订单ID
返回偏航类型
获取剩余距离。
获取剩余时间。
返回剩余红绿灯个数
获取路线id。
返回路线标签
目的地是否变更
设置目的地已经变更
| destChanged | 变更状态 |
|---|
设置导航会话ID
| navSessionId | 导航会话ID |
|---|
设置偏航类型
| recalculateType | 偏航类型 |
|---|