TencentNavKit

Classes | Typedefs | Enumerations
TNKCommonObj.h File Reference
`#import <Foundation/Foundation.h>`
`#import <CoreLocation/CLLocation.h>`

Go to the source code of this file.

## Classes
class | TNKCoordinatePoint
| 经纬度类 More...
class | TNKRoutePoint
| 路线上的坐标类 More...
class | TNKSearchNavPoint
| 导航算路起点、终点、途经点所使用的类 More...
class | TNKRouteRequest
| 算路请求类 More...
class | TNKRouteMilestone
| 步骑行里程碑类 More...

## Typedefs
typedef NS_ASSUME_NONNULL_BEGIN enum _TNKTravelMode | TNKTravelMode
| 出行方式 More...
typedef enum _TNKSearchNavPointAdsorbType | TNKSearchNavPointAdsorbType
| 起终点吸附逻辑 More...
typedef enum _TNKNavStartFailCode | TNKNavStartFailCode
| 导航开启失败错误内容 More...

## Enumerations
enum | _TNKTravelMode { TNKTravelModeDriving = 0 , TNKTravelModeRiding = 1 , TNKTravelModeWalking = 2 }
enum | _TNKSearchNavPointAdsorbType { TNKSearchNavPointAdsorbTypeDefault = 0 , TNKSearchNavPointAdsorbTypeStation = 1 , TNKSearchNavPointAdsorbTypeAvoidPoi = 5 }
enum | _TNKNavStartFailCode { TNKNavStartFailCodeAlreadyStarted = 1001 , TNKNavStartFailCodeRoutePlanEmpty = 2001 , TNKNavStartFailCodeRoutePlanError = 2002 , TNKNavStartFailCodeRouteIdEmpty = 3001 , TNKNavStartFailCodeRouteIdNotExist = 3002 , TNKNavStartFailCodeInternalError = 3002 }
| 导航开启失败错误内容 More...

## Typedef Documentation

## ◆ TNKNavStartFailCode

typedef enum _TNKNavStartFailCode TNKNavStartFailCode

导航开启失败错误内容

## ◆ TNKSearchNavPointAdsorbType

typedef enum _TNKSearchNavPointAdsorbType TNKSearchNavPointAdsorbType

起终点吸附逻辑

## ◆ TNKTravelMode

typedef NS_ASSUME_NONNULL_BEGIN enum _TNKTravelMode TNKTravelMode

出行方式

## Enumeration Type Documentation

## ◆ _TNKNavStartFailCode

enum _TNKNavStartFailCode

导航开启失败错误内容

Enumerator
TNKNavStartFailCodeAlreadyStarted | 已开启导航
TNKNavStartFailCodeRoutePlanEmpty | 路径规划为空
TNKNavStartFailCodeRoutePlanError | 路径规划失败
TNKNavStartFailCodeRouteIdEmpty | 路线ID为空
TNKNavStartFailCodeRouteIdNotExist | 路线ID不存在
TNKNavStartFailCodeInternalError | 内部错误

## ◆ _TNKSearchNavPointAdsorbType

enum _TNKSearchNavPointAdsorbType

Enumerator
TNKSearchNavPointAdsorbTypeDefault | 默认
TNKSearchNavPointAdsorbTypeStation | 场站策略
TNKSearchNavPointAdsorbTypeAvoidPoi | 去掉反查逻辑

## ◆ _TNKTravelMode

enum _TNKTravelMode

Enumerator
TNKTravelModeDriving | 驾车
TNKTravelModeRiding | 骑行
TNKTravelModeWalking | 步行