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()
返回路线分段
| ||||||||||
long | getSelectedTime() | ||||||||||
int |
getSourceFrom()
返回数据来源
| ||||||||||
TLSLatlng |
getStartPosition()
起点位置
| ||||||||||
String |
getTags()
返回路线标签
| ||||||||||
List<TLSBRouteTrafficItem> |
getTrafficItems()
获取路况单元
TLSBRouteTrafficItem 信息。 | ||||||||||
List<TLSBWayPoint> |
getWayPoints()
获取途经点
TLSBWayPoint 信息。 | ||||||||||
boolean |
isDestChanged()
目的地是否变更
| ||||||||||
boolean |
isSelected()
判断是否是选中路线
| ||||||||||
void |
setDestChanged(boolean destChanged)
设置目的地已经变更
| ||||||||||
void | setDestPosition(TLSLatlng destPosition) | ||||||||||
void |
setNavSessionId(String navSessionId)
设置导航会话ID
| ||||||||||
void | setOrderId(String orderId) | ||||||||||
void | setOriginalWayPoints(List<TLSDWayPointInfo> originalWayPoints) | ||||||||||
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 | setSelected(boolean selected) | ||||||||||
void |
setSelectedTime(long selectedTime)
设置选中的时间戳
| ||||||||||
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
获取导航会话ID
获取路线关联的订单ID
返回偏航类型
获取剩余距离。
获取剩余时间。
返回剩余红绿灯个数
获取路线id。
返回路线标签
目的地是否变更
判断是否是选中路线
设置目的地已经变更
destChanged | 变更状态 |
---|
设置导航会话ID
navSessionId | 导航会话ID |
---|
设置偏航类型
recalculateType | 偏航类型 |
---|
设置选中的时间戳
selectedTime | 时间戳 单位:ms |
---|