TencentNavKit

Instance Methods | Properties | List of all members
TNKDriveNavRoute Class Reference

导航过程中的路线实时数据 More...

`#import <TNKDriveCommonObj.h>`

Inheritance diagram for TNKDriveNavRoute:

## Instance Methods
(instancetype) | - NS_UNAVAILABLE
(instancetype) | - initWithSearchRoute:
| 构造方法 More...

## Properties
TNKDriveRoute * | searchRoute
| 算路的路线数据类 More...
int | remainingDistance
| 当前位置到终点剩余距离， 单位：米 More...
int | remainingTime
| 当前位置到终点剩余时间，单位：分钟 More...
int | remainingTimeInSeconds
| 当前位置到终点剩余时间，单位：秒 More...
NSArray< TNKRouteTrafficItem * > * | curTrafficItems
| 当前路况数据 More...
TNKLocation * | location
| 当前定位信息 More...
int | distBetweenOrginAndRouteFistPoint
| 导航的起点与当前路线的首个点的距离。如果这条路线是偏航重算的路线，那么该值就是从导航开始到偏航时走过的距离。 More...

## Detailed Description

导航过程中的路线实时数据

## Method Documentation

## ◆ initWithSearchRoute:

- (instancetype) initWithSearchRoute: |  | (TNKDriveRoute *) | searchRoute |

构造方法

## ◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE |  |  |

## Property Documentation

## ◆ curTrafficItems

- (NSArray<TNKRouteTrafficItem *>*) curTrafficItems
| read nonatomic assign

当前路况数据

## ◆ distBetweenOrginAndRouteFistPoint

- (int) distBetweenOrginAndRouteFistPoint
| read nonatomic assign

导航的起点与当前路线的首个点的距离。如果这条路线是偏航重算的路线，那么该值就是从导航开始到偏航时走过的距离。

## ◆ location

- (TNKLocation*) location
| read nonatomic assign

当前定位信息

## ◆ remainingDistance

- (int) remainingDistance
| read nonatomic assign

当前位置到终点剩余距离， 单位：米

## ◆ remainingTime

- (int) remainingTime
| read nonatomic assign

当前位置到终点剩余时间，单位：分钟

## ◆ remainingTimeInSeconds

- (int) remainingTimeInSeconds
| read nonatomic assign

当前位置到终点剩余时间，单位：秒

## ◆ searchRoute

- (TNKDriveRoute*) searchRoute
| read nonatomic assign

算路的路线数据类

The documentation for this class was generated from the following file:

- TNKDriveCommonObj.h