高德地图SDK(导航)  V11.1.000
AMapNaviCommonObj.h File Reference
#import <UIKit/UIKit.h>
#import <CoreLocation/CLLocation.h>
#import <AMapFoundationKit/AMapServices.h>

Go to the source code of this file.

Classes

class  AMapNaviPoint
 
class  AMapNaviPointBounds
 
class  AMapNaviGuide
 导航段信息类 Navigation segment information class More...
 
class  AMapNaviGroupSegment
 聚合段信息类 Aggregation segment information class since 5.1.0 More...
 
class  AMapNaviTrafficStatus
 前方交通路况信息类 Traffic condition information class ahead More...
 
class  AMapNaviIntervalCameraDynamicInfo
 
class  AMapNaviCameraInfo
 电子眼信息类 Electronic eye information category More...
 
class  AMapNaviServiceAreaInfo
 服务区域信息 Service area information since 5.0.0 More...
 
class  AMapNaviCruiseInfo
 巡航模式信息类 Cruise mode information More...
 
class  AMapNaviTrafficFacilityInfo
 道路交通设施类 Road traffic facilities More...
 
class  AMapNaviCruiseLinkStatus
 
class  AMapNaviCruiseCongestionInfo
 
class  AMapNaviRouteLabel
 
class  AMapNaviRestrictionInfo
 
class  AMapNaviParallelRoadStatus
 
class  AMapNaviVehicleInfo
 
class  AMapNaviNotAvoidFacilityAndForbiddenInfo
 
class  AMapNaviRouteForbiddenInfo
 
class  AMapNaviRoadFacilityInfo
 
class  AMapNaviRouteNotifyData
 
class  AMapNaviCongestionInfo
 
class  AMapNaviSuggestChangeMainNaviRouteInfo
 
class  AMapNaviRouteIconPoint
 
class  AMapNaviTrafficIncidentInfo
 
class  AMapNaviPOIInfo
 
class  AMapNaviParallelRoadInfo
 
class  AMapNaviToWayPointInfo
 
class  AMapNaviRouteWayPointInfo
 
class  AMapNaviExitBoardInfo
 
class  AMapNaviDriveComfort
 
class  AMapNaviDriveEvent
 
class  AMapNaviPolylineGreyColor
 
class  AMapNaviPolylineTrafficStatusColor
 
class  AMapNaviPCMTask
 
class  AMapNaviTMCStatusColor
 
class  AMapNaviTrafficEventItem
 交通事件信息 Traffic incident information since 10.0.920 More...
 
class  AMapNaviRouteTrafficEventInfo
 交通事件信息 Traffic incident information since 10.0.920 More...
 
class  AMapNaviInputTip
 
class  AMapNaviPOI
 AMapNaviPOI since 10.1.0. More...
 
class  AMapNaviChargingInfo
 充电详情 Charging details since 10.1.0 More...
 
class  AMapNaviServiceAreaChildrenPOI
 服务区子poi since 10.1.0 Service Area Sub POI Since 10.1.0 More...
 
class  AMapNaviServiceAreaDetailInfo
 
class  AMapNaviSlopeInfo
 
class  AMapNaviCalRouteOptions
 
class  AMapNaviAppLangOptions
 

Typedefs

typedef void(^ AMapNaviFullLinkLogBlock) (NSString *_Nullable info)
 全链路日志 Full link log More...
 

Enumerations

enum  AMapNaviAudioOutputMode : int { AMapNaviAudioOutputModeNone = 0 , AMapNaviAudioOutputModeText , AMapNaviAudioOutputModeSpecial }
 
enum  AMapNaviError : NSInteger { AMapNaviUnknowError = -1 , AMapNaviErrorNoGPSPermission = -2 , AMapNaviErrorNoFullGPSAccuracyPermission = -3 }
 
enum  AMapNaviMode : NSInteger { AMapNaviModeNone = 0 , AMapNaviModeGPS , AMapNaviModeEmulator }
 
enum  AMapNaviViewTrackingMode : NSInteger { AMapNaviViewTrackingModeMapNorth = 0 , AMapNaviViewTrackingModeCarNorth }
 
enum  AMapNaviDriveViewShowMode : NSInteger { AMapNaviDriveViewShowModeCarPositionLocked = 1 , AMapNaviDriveViewShowModeOverview = 2 , AMapNaviDriveViewShowModeNormal = 3 }
 
enum  AMapNaviTravelStrategy : NSInteger { AMapNaviTravelStrategySingleDefault = 1000 , AMapNaviTravelStrategyMultipleDefault = 1001 }
 
enum  AMapNaviDrivingStrategy : NSInteger {
  AMapNaviDrivingStrategySingleInvalid = -1 , AMapNaviDrivingStrategySingleDefault = 0 , AMapNaviDrivingStrategySingleAvoidCost = 1 , AMapNaviDrivingStrategySinglePrioritiseDistance = 2 ,
  AMapNaviDrivingStrategySingleAvoidExpressway = 3 , AMapNaviDrivingStrategySingleAvoidCongestion = 4 , AMapNaviDrivingStrategySinglePrioritiseSpeedCostDistance = 5 , AMapNaviDrivingStrategySingleAvoidHighway = 6 ,
  AMapNaviDrivingStrategySingleAvoidHighwayAndCost = 7 , AMapNaviDrivingStrategySingleAvoidCostAndCongestion = 8 , AMapNaviDrivingStrategySingleAvoidHighwayAndCostAndCongestion = 9 , AMapNaviDrivingStrategyMultipleDefault = 10 ,
  AMapNaviDrivingStrategyMultipleShortestTimeDistance = 11 , AMapNaviDrivingStrategyMultipleAvoidCongestion = 12 , AMapNaviDrivingStrategyMultipleAvoidHighway = 13 , AMapNaviDrivingStrategyMultipleAvoidCost = 14 ,
  AMapNaviDrivingStrategyMultipleAvoidHighwayAndCongestion = 15 , AMapNaviDrivingStrategyMultipleAvoidHighwayAndCost = 16 , AMapNaviDrivingStrategyMultipleAvoidCostAndCongestion = 17 , AMapNaviDrivingStrategyMultipleAvoidHighwayAndCostAndCongestion = 18 ,
  AMapNaviDrivingStrategyMultiplePrioritiseHighway = 19 , AMapNaviDrivingStrategyMultiplePrioritiseHighwayAvoidCongestion = 20 , AMapNaviMotorStrategyMultipleDefault = 2001 , AMapNaviMotorStrategyMultipleAvoidHighway = 2002 ,
  AMapNaviMotorStrategyMultiplePrioritiseHighway = 2003 , AMapNaviMotorStrategyMultipleAvoidCost = 2004 , AMapNaviDrivingStrategySingleAvoidHighwayAvoidCongestion = 100 , AMapNaviDrivingStrategySinglePrioritiseHighway = 101 ,
  AMapNaviDrivingStrategySinglePrioritiseHighwayAvoidCongestion = 102 , AMapNaviDrivingStrategySinglePrioritiseHighwayAndDistance = 103 , AMapNaviDrivingStrategySingleAvoidHighwayAndShortestDistance = 104 , AMapNaviDrivingStrategySingleAvoidHighwayPrioritiseSpeedCostDistance = 105
}
 
enum  AMapNaviCalcRouteState : NSInteger {
  AMapNaviCalcRouteStateEnvFailed = 0 , AMapNaviCalcRouteStateSucceed = 1 , AMapNaviCalcRouteStateNetworkError = 2 , AMapNaviCalcRouteStateStartPointError = 3 ,
  AMapNaviCalcRouteStateProtocolError = 4 , AMapNaviCalcRouteStateCallCenterError = 5 , AMapNaviCalcRouteStateEndPointError = 6 , AMapNaviCalcRouteStateEncodeFalse = 7 ,
  AMapNaviCalcRouteStateLackPreview = 8 , AMapNaviCalcRouteStateDataBufError = 9 , AMapNaviCalcRouteStateStartRouteError = 10 , AMapNaviCalcRouteStateEndRouteError = 11 ,
  AMapNaviCalcRouteStatePassRouteError = 12 , AMapNaviCalcRouteStateRouteFail = 13 , AMapNaviCalcRouteStateDistanceTooLong = 19 , AMapNaviCalcRouteStatePassPointError = 21 ,
  AMapNaviCalcRouteStateHaveNewCalcTaskWorking = 2999 , AMapNaviCalcRouteStateCLAuthorizationStatusDenied = 3000 , AMapNaviCalcRouteStateCLAuthorizationReducedAccuracy = 3001
}
 
enum  AMapNaviIconType : NSInteger {
  AMapNaviIconTypeNone = 0 , AMapNaviIconTypeDefault , AMapNaviIconTypeLeft , AMapNaviIconTypeRight ,
  AMapNaviIconTypeLeftFront , AMapNaviIconTypeRightFront , AMapNaviIconTypeLeftBack , AMapNaviIconTypeRightBack ,
  AMapNaviIconTypeLeftAndAround , AMapNaviIconTypeStraight , AMapNaviIconTypeArrivedWayPoint , AMapNaviIconTypeEnterRoundabout ,
  AMapNaviIconTypeOutRoundabout , AMapNaviIconTypeArrivedServiceArea , AMapNaviIconTypeArrivedTollGate , AMapNaviIconTypeArrivedDestination ,
  AMapNaviIconTypeArrivedTunnel , AMapNaviIconTypeEntryLeftRing , AMapNaviIconTypeLeaveLeftRing , AMapNaviIconTypeUTurnRight ,
  AMapNaviIconTypeSpecialContinue , AMapNaviIconTypeEntryRingLeft , AMapNaviIconTypeEntryRingRight , AMapNaviIconTypeEntryRingContinue ,
  AMapNaviIconTypeEntryRingUTurn , AMapNaviIconTypeEntryLeftRingLeft , AMapNaviIconTypeEntryLeftRingRight , AMapNaviIconTypeEntryLeftRingContinue ,
  AMapNaviIconTypeEntryLeftRingUTurn , AMapNaviIconTypeCrosswalk , AMapNaviIconTypeFlyover , AMapNaviIconTypeUnderpass ,
  AMapNaviIconTypeSquare , AMapNaviIconTypePark , AMapNaviIconTypeStaircase , AMapNaviIconTypeLift ,
  AMapNaviIconTypeCableway , AMapNaviIconTypeOverheadPassage , AMapNaviIconTypePassage , AMapNaviIconTypeWalks ,
  AMapNaviIconTypeCruises , AMapNaviIconTypeSightseeingbus , AMapNaviIconTypeSlip , AMapNaviIconTypeStair ,
  AMapNaviIconTypeSlope , AMapNaviIconTypeBridge , AMapNaviIconTypeFerryboat , AMapNaviIconTypeSubway ,
  AMapNaviIconTypeEnterBuilding , AMapNaviIconTypeLeaveBuilding , AMapNaviIconTypeByElevator , AMapNaviIconTypeByStair ,
  AMapNaviIconTypeEscalator , AMapNaviIconTypeLowTrafficCross , AMapNaviIconTypeLowCross , AMapNaviIconTypeMergeLeft = 65 ,
  AMapNaviIconTypeMergeRight = 66
}
 
enum  AMapNaviSoundType : NSInteger {
  AMapNaviSoundTypeDefault = 0 , AMapNaviSoundTypeNavigationStart = 3016 , AMapNaviSoundTypeNavigationEnd = 3017 , AMapNaviSoundTypeYaw = 3004 ,
  AMapNaviSoundTypeInterrupt = 99999
}
 
enum  AMapNaviDetectedMode : NSInteger { AMapNaviDetectedModeNone = 0 , AMapNaviDetectedModeCamera , AMapNaviDetectedModeSpecialRoad , AMapNaviDetectedModeCameraAndSpecialRoad }
 
enum  AMapNaviRoadClass : NSInteger {
  AMapNaviRoadClassHighWay = 0 , AMapNaviRoadClassNationalRoad , AMapNaviRoadClassProvincialRoad , AMapNaviRoadClassCountyRoad ,
  AMapNaviRoadClassVillageRoad , AMapNaviRoadClassCountyInternalRoad , AMapNaviRoadClassMainStreet , AMapNaviRoadClassMainRoad ,
  AMapNaviRoadClassMinorRoad , AMapNaviRoadClassNormalRoad , AMapNaviRoadClassNotNaviRoad
}
 
enum  AMapNaviFormWay : NSInteger {
  AMapNaviFormWayNone = -1 , AMapNaviFormWayMainRoad = 1 , AMapNaviFormWayInternalRoad , AMapNaviFormWayJCT ,
  AMapNaviFormWayRoundabout , AMapNaviFormWayRestArea , AMapNaviFormWayRamp , AMapNaviFormWaySideRoad ,
  AMapNaviFormWayRampAndJCT , AMapNaviFormWayExit , AMapNaviFormWayEntrance , AMapNaviFormWayTurnRightRoadA ,
  AMapNaviFormWayTurnRightRoadB , AMapNaviFormWayTurnLeftRoadA , AMapNaviFormWayTurnLeftRoadB , AMapNaviFormWayNormalRoad ,
  AMapNaviFormWayTurnLeftAndRightRoad , AMapNaviFormWayRestAreaAndJCT = 53 , AMapNaviFormWayRestAreaAndRamp = 56 , AMapNaviFormWayRestAreaRampJCT = 58
}
 
enum  AMapNaviCameraType : NSInteger {
  AMapNaviCameraTypeSpeed = 0 , AMapNaviCameraTypeSurveillance = 1 , AMapNaviCameraTypeTrafficLight = 2 , AMapNaviCameraTypeBreakRule = 3 ,
  AMapNaviCameraTypeBusway = 4 , AMapNaviCameraTypeEmergencyLane = 5 , AMapNaviCameraTypeBicycleLane = 6 , AMapNaviCameraTypeIntervalVelocityStart = 8 ,
  AMapNaviCameraTypeIntervalVelocityEnd = 9 , AMapNaviCameraTypeFlowSpeed = 10 , AMapNaviCameraTypeETC = 11
}
 
enum  AMapNaviBroadcastMode : NSInteger { AMapNaviBroadcastModeConcise = 1 , AMapNaviBroadcastModeDetailed }
 
enum  AMapNaviRouteStatus : NSInteger {
  AMapNaviRouteStatusUnknow = 0 , AMapNaviRouteStatusSmooth , AMapNaviRouteStatusSlow , AMapNaviRouteStatusJam ,
  AMapNaviRouteStatusSeriousJam , AMapNaviRouteStatusDefault , AMapNaviRouteStatusFineOpen
}
 
enum  AMapNaviRoutePlanPOIType : NSInteger { AMapNaviRoutePlanPOITypeStart = 0 , AMapNaviRoutePlanPOITypeEnd , AMapNaviRoutePlanPOITypeWay }
 
enum  AMapNaviParallelRoadStatusFlag : NSInteger { AMapNaviParallelRoadStatusFlagNone = 0 , AMapNaviParallelRoadStatusFlagAssist = 1 , AMapNaviParallelRoadStatusFlagMain = 2 }
 
enum  AMapNaviElevatedRoadStatusFlag : NSInteger { AMapNaviElevatedRoadStatusFlagNone = 0 , AMapNaviElevatedRoadStatusFlagUnder = 1 , AMapNaviElevatedRoadStatusFlagUp = 2 }
 
enum  AMapNaviCompositeThemeType : NSInteger { AMapNaviCompositeThemeTypeDefault = 0 , AMapNaviCompositeThemeTypeLight = 1 , AMapNaviCompositeThemeTypeDark = 2 }
 
enum  AMapNaviRingType : NSInteger {
  AMapNaviRingTypeNULL = 0 , AMapNaviRingTypeReroute = 1 , AMapNaviRingTypeDing = 100 , AMapNaviRingTypeDong = 101 ,
  AMapNaviRingTypeElecDing = 102 , AMapNaviRingTypeElecOverSpeedDing = 103
}
 
enum  AMapNaviGPSSignalStrength : NSInteger { AMapNaviGPSSignalStrengthUnknow = 0 , AMapNaviGPSSignalStrengthStrong = 1 , AMapNaviGPSSignalStrengthWeak = 2 , AMapNaviGPSSignalStrengthSmartPos = 3 }
 
enum  AMapNaviCompositeVCBackwardActionType : NSInteger { AMapNaviCompositeVCBackwardActionTypeDismiss = 0 , AMapNaviCompositeVCBackwardActionTypeNaviPop = 1 }
 
enum  AMapNaviRoutePlanType : NSInteger {
  AMapNaviRoutePlanTypeCommon = 1 , AMapNaviRoutePlanTypeYaw = 2 , AMapNaviRoutePlanTypeChangeStratege = 3 , AMapNaviRoutePlanTypeParallelRoad = 4 ,
  AMapNaviRoutePlanTypeTMC = 5 , AMapNaviRoutePlanTypeLimitLine = 6 , AMapNaviRoutePlanTypeDamagedRoad = 7 , AMapNaviRoutePlanTypeChangeJnyPnt = 9 ,
  AMapNaviRoutePlanTypeUpdateCityData = 10 , AMapNaviRoutePlanTypeLimitForbid = 11 , AMapNaviRoutePlanTypeManualRefresh = 12 , AMapNaviRoutePlanTypeMutiRouteRequest = 14 ,
  AMapNaviRoutePlanTypeDispatch = 16 , AMapNaviRoutePlanTypePushRouteData = 200
}
 
enum  AMapNaviIntervalCameraPositionState : NSInteger { AMapNaviIntervalCameraPositionStateNULL = 0 , AMapNaviIntervalCameraPositionStateReady = 1 , AMapNaviIntervalCameraPositionStateIn = 2 , AMapNaviIntervalCameraPositionStateOut = 3 }
 
enum  AMapNaviRoadFacilityType : NSInteger {
  AMapNaviRoadFacilityTypeNULL = 0 , AMapNaviRoadFacilityTypeLeftInterflow = 1 , AMapNaviRoadFacilityTypeRightInterflow = 2 , AMapNaviRoadFacilityTypeSharpTurn = 3 ,
  AMapNaviRoadFacilityTypeReverseTurn = 4 , AMapNaviRoadFacilityTypeLinkingTurn = 5 , AMapNaviRoadFacilityTypeAccidentArea = 6 , AMapNaviRoadFacilityTypeFallingRocks = 7 ,
  AMapNaviRoadFacilityTypeFailwayCross = 8 , AMapNaviRoadFacilityTypeSlippery = 9 , AMapNaviRoadFacilityTypeMaxSpeedLimit = 10 , AMapNaviRoadFacilityTypeMinSpeedLimit = 11 ,
  AMapNaviRoadFacilityTypeVillage = 12 , AMapNaviRoadFacilityTypeLeftNarrow = 13 , AMapNaviRoadFacilityTypeRightNarrow = 14 , AMapNaviRoadFacilityTypeDoubleNarrow = 15 ,
  AMapNaviRoadFacilityTypeCrosswindArea = 16 , AMapNaviRoadFacilityTypeTruckHeightLimit = 81 , AMapNaviRoadFacilityTypeTruckWidthLimit = 82 , AMapNaviRoadFacilityTypeTruckWeightLimit = 83 ,
  AMapNaviRoadFacilityTypeCheckPoint = 91
}
 
enum  AMapNaviRouteNotifyDataType : NSInteger {
  AMapNaviRouteNotifyDataTypeNULL = 0 , AMapNaviRouteNotifyDataTypeRestrictArea = 1 , AMapNaviRouteNotifyDataTypeForbidArea = 2 , AMapNaviRouteNotifyDataTypeRoadClosedArea = 3 ,
  AMapNaviRouteNotifyDataTypeJamArea = 4 , AMapNaviRouteNotifyDataTypeDispatch = 5 , AMapNaviRouteNotifyDataTypeChangeMainRoute = 20 , AMapNaviRouteNotifyDataTypeGPSSignalWeak = 21
}
 
enum  AMapNaviLinkType : NSInteger {
  AMapNaviLinkTypeNull = -1 , AMapNaviLinkTypeNormalRoad = 0 , AMapNaviLinkTypeFairway = 1 , AMapNaviLinkTypeUnderPass = 2 ,
  AMapNaviLinkTypeBridge = 3 , AMapNaviLinkTypeElevatedRd = 4
}
 
enum  AMapNaviRouteIconPointType : NSInteger { AMapNaviRouteIconPointTypeNULL = -1 , AMapNaviRouteIconPointTypeFoot = 0 , AMapNaviRouteIconPointTypeVehicleFerry = 1 , AMapNaviRouteIconPointTypeMannedFerry = 2 }
 
enum  AMapNaviOnlineCarHailingType : NSInteger { AMapNaviOnlineCarHailingTypeInvalid = -1 , AMapNaviOnlineCarHailingTypeNone = 0 , AMapNaviOnlineCarHailingTypePickUp = 1 , AMapNaviOnlineCarHailingTypeTransport = 2 }
 
enum  AMapNaviViewMapModeType : NSInteger { AMapNaviViewMapModeTypeDay = 0 , AMapNaviViewMapModeTypeNight = 1 , AMapNaviViewMapModeTypeDayNightAuto = 2 , AMapNaviViewMapModeTypeCustom = 3 }
 
enum  AMapNaviDriveEventType : NSUInteger {
  AMapNaviDriveEventNone = 0 , AMapNaviDriveEventLeftTurn = 1 , AMapNaviDriveEventRightTurn = 2 , AMapNaviDriveEventLeftLaneChange = 3 ,
  AMapNaviDriveEventRightLaneChange = 4 , AMapNaviDriveEventAccelerate = 5 , AMapNaviDriveEventBreak = 6
}
 
enum  AMapNaviOwnershipType : NSInteger {
  AMapNaviOwnershipPublicRoad = 0 , AMapNaviOwnershipInternalRoad = 1 , AMapNaviOwnershipPrivateRoad = 2 , AMapNaviOwnershipUndergroundParkRoad = 3 ,
  AMapNaviOwnership3DParkRoad = 4
}
 
enum  AMapNaviType : NSInteger {
  AMapNaviTypeInvalid = 0 , AMapNaviTypeDrive = 1 , AMapNaviTypeRide = 2 , AMapNaviTypeWalk = 3 ,
  AMapNaviTypeEleBike = 4
}
 
enum  AMapNaviAppLangType : NSInteger { AMapNaviAppLangZhHans = 0 , AMapNaviAppLangZhHantHK = 1 , AMapNaviAppLangZhHantTW = 2 }
 
enum  AMapNaviInvokerType : NSUInteger { AMapNaviInvokerTypeNavi , AMapNaviInvokerTypePlan }
 
enum  AMapNaviTrafficEventType : NSInteger { AMapNaviTrafficEventTypeAccident = 1 , AMapNaviTrafficEventTypeConstruction = 2 , AMapNaviTrafficEventTypeClose = 3 , AMapNaviTrafficEventTypeControl = 4 }
 

Functions

typedef NS_OPTIONS (NSUInteger, AMapNaviCompositeBroadcastType)
 
typedef NS_OPTIONS (NSUInteger, AMapNaviRouteAnnoState)
 
typedef NS_OPTIONS (NSUInteger, AMapNaviSlopeType)
 上下坡类型 Upstream and downhill types More...
 
FOUNDATION_EXTERN UIImage * CreateLaneInfoImageWithLaneInfo (NSString *laneBackInfo, NSString *laneSelectInfo)
 创建车道信息图片 Create lane information image More...
 
FOUNDATION_EXTERN AMapNaviDrivingStrategy ConvertDrivingPreferenceToDrivingStrategy (BOOL multipleRoute, BOOL avoidCongestion, BOOL avoidHighway, BOOL avoidCost, BOOL prioritiseHighway)
 将驾车路线规划的偏好设置转换为驾车路径规划策略.注意:当prioritiseHighway为YES时,将忽略avoidHighway和avoidCost的设置 Convert the preference settings for driving route planning into driving route planning strategies. Note: When prioritiseHighway is YES, the settings for avoidHighway and avoidCost will be ignored. More...
 

Variables

NSString *const AMapNaviErrorDomain
 

Typedef Documentation

◆ AMapNaviFullLinkLogBlock

typedef void(^ AMapNaviFullLinkLogBlock) (NSString *_Nullable info)

全链路日志 Full link log

Enumeration Type Documentation

◆ AMapNaviAppLangType

enum AMapNaviAppLangType : NSInteger
Enumerator
AMapNaviAppLangZhHans 

中文简体 Simplified Chinese

AMapNaviAppLangZhHantHK 

中文繁体-香港 Traditional Chinese - Hong Kong

AMapNaviAppLangZhHantTW 

中文繁体-台湾 Traditional Chinese - Taiwan

◆ AMapNaviAudioOutputMode

Enumerator
AMapNaviAudioOutputModeNone 
AMapNaviAudioOutputModeText 
AMapNaviAudioOutputModeSpecial 

◆ AMapNaviBroadcastMode

enum AMapNaviBroadcastMode : NSInteger

播报模式 Announcement mode

Enumerator
AMapNaviBroadcastModeConcise 

1 经典简洁播报(建议老司机使用) Classic concise announcement (recommended for experienced drivers)

AMapNaviBroadcastModeDetailed 

2 新手详细播报 Detailed announcement for beginners

◆ AMapNaviCalcRouteState

enum AMapNaviCalcRouteState : NSInteger

路径计算状态 Route calculation status

Enumerator
AMapNaviCalcRouteStateEnvFailed 

0 环境初始化错误 Environment initialization error

AMapNaviCalcRouteStateSucceed 

1 路径计算成功 Path calculation successful

AMapNaviCalcRouteStateNetworkError 

2 网络失败 Network failure

AMapNaviCalcRouteStateStartPointError 

3 起点错误 Starting point error

AMapNaviCalcRouteStateProtocolError 

4 协议解析错误 Protocol parsing error

AMapNaviCalcRouteStateCallCenterError 

5 呼叫中心错误 Call center error

AMapNaviCalcRouteStateEndPointError 

6 终点错误 Destination error

AMapNaviCalcRouteStateEncodeFalse 

7 服务端编码错误 Server encoding error

AMapNaviCalcRouteStateLackPreview 

8 数据缺乏预览数据 Data lacks preview data

AMapNaviCalcRouteStateDataBufError 

9 数据格式错误 Data format error

AMapNaviCalcRouteStateStartRouteError 

10 没有找到通向起点的道路 No route found to the starting point

AMapNaviCalcRouteStateEndRouteError 

11 没有找到通向终点的道路 No route found to the destination

AMapNaviCalcRouteStatePassRouteError 

12 没有找到通向途经点的道路 No route found to the waypoint

AMapNaviCalcRouteStateRouteFail 

13 算路失败(未知错误) Route calculation failed (unknown error)

AMapNaviCalcRouteStateDistanceTooLong 

19 起点/终点/途经点的距离太长 The distance of the origin/destination/waypoints is too long

AMapNaviCalcRouteStatePassPointError 

21 途经点错误 Incorrect waypoints

AMapNaviCalcRouteStateHaveNewCalcTaskWorking 

2999 有新的算路任务进行中导致本次算路失败 Route calculation failed due to a new routing task in progress

AMapNaviCalcRouteStateCLAuthorizationStatusDenied 

3000 无定位权限 No location permission

AMapNaviCalcRouteStateCLAuthorizationReducedAccuracy 

3001 无定位的精确位置权限 No precise location permission

◆ AMapNaviCameraType

enum AMapNaviCameraType : NSInteger

电子眼类型 Types of electronic eyes

Enumerator
AMapNaviCameraTypeSpeed 

0 测速摄像 Speed cameras

AMapNaviCameraTypeSurveillance 

1 监控摄像 Surveillance cameras

AMapNaviCameraTypeTrafficLight 

2 闯红灯拍照 Red light cameras

AMapNaviCameraTypeBreakRule 

3 违章拍照 Illegal parking cameras

AMapNaviCameraTypeBusway 

4 公交专用道摄像头 Bus lane cameras

AMapNaviCameraTypeEmergencyLane 

5 应急车道摄像头 Emergency lane cameras

AMapNaviCameraTypeBicycleLane 

6 非机动车道摄像头 Non-motor vehicle lane cameras

AMapNaviCameraTypeIntervalVelocityStart 

8 区间测速起始 Start of section speed measurement

AMapNaviCameraTypeIntervalVelocityEnd 

9 区间测速终止 End of section speed measurement

AMapNaviCameraTypeFlowSpeed 

10 流动测速电子眼 Mobile speed camera

AMapNaviCameraTypeETC 

11 ETC计费拍照 ETC toll photo capture since 9.0.0 新增

◆ AMapNaviCompositeThemeType

enum AMapNaviCompositeThemeType : NSInteger

导航组件主题皮肤类型 since 5.4.0 Navigation component theme skin type

Enumerator
AMapNaviCompositeThemeTypeDefault 

0 蓝色系 Blue tones

AMapNaviCompositeThemeTypeLight 

1 浅色系 Light tones

AMapNaviCompositeThemeTypeDark 

2 暗色系 Dark tones

◆ AMapNaviCompositeVCBackwardActionType

导航组件页面回退的动作类型 since 5.5.0 Navigation component page back action type

Enumerator
AMapNaviCompositeVCBackwardActionTypeDismiss 
AMapNaviCompositeVCBackwardActionTypeNaviPop 

◆ AMapNaviDetectedMode

enum AMapNaviDetectedMode : NSInteger

非导航状态电子眼播报类型 Non-navigation state electronic eye announcement type

Enumerator
AMapNaviDetectedModeNone 

0 关闭所有 Turn off all

AMapNaviDetectedModeCamera 

1 仅电子眼 Only electronic eyes

AMapNaviDetectedModeSpecialRoad 

2 仅特殊道路设施 Only special road facilities

AMapNaviDetectedModeCameraAndSpecialRoad 

3 电子眼和特殊道路设施 Electronic eyes and special road facilities

◆ AMapNaviDriveEventType

enum AMapNaviDriveEventType : NSUInteger

驾驶三急事件枚举类型 since 9.3.5 Enumeration types of three urgent driving events

Enumerator
AMapNaviDriveEventNone 

详细播报 Detailed broadcast

AMapNaviDriveEventLeftTurn 

急转弯-左转 Sharp turn - left turn

AMapNaviDriveEventRightTurn 

急转弯-右转 Sharp turn - right turn

AMapNaviDriveEventLeftLaneChange 

急超车-左转 Urgent overtaking - left turn

AMapNaviDriveEventRightLaneChange 

急超车-右转 Urgent overtaking - right turn

AMapNaviDriveEventAccelerate 

急加速 Sudden acceleration

AMapNaviDriveEventBreak 

急减速 Sudden deceleration

◆ AMapNaviDriveViewShowMode

enum AMapNaviDriveViewShowMode : NSInteger

驾车导航界面显示模式 Driving navigation interface display mode

Enumerator
AMapNaviDriveViewShowModeCarPositionLocked 

锁车状态 Locked state

AMapNaviDriveViewShowModeOverview 

全览状态 Overview state

AMapNaviDriveViewShowModeNormal 

普通状态 Normal state

◆ AMapNaviDrivingStrategy

enum AMapNaviDrivingStrategy : NSInteger

驾车、货车路径规划策略. Car and truck route planning strategies

Enumerator
AMapNaviDrivingStrategySingleInvalid 

-1 非法 Illegal

AMapNaviDrivingStrategySingleDefault 

0 单路径: 默认,速度优先(常规最快) Single route: Default, speed priority (conventionally fastest)

AMapNaviDrivingStrategySingleAvoidCost 

1 单路径: 避免收费 Single route: Avoid tolls

AMapNaviDrivingStrategySinglePrioritiseDistance 

2 单路径: 距离优先 Single route: Distance priority

AMapNaviDrivingStrategySingleAvoidExpressway 

3 单路径: 不走快速路 Single route: Avoid expressways

AMapNaviDrivingStrategySingleAvoidCongestion 

4 单路径: 躲避拥堵 Single route: Avoid congestion

AMapNaviDrivingStrategySinglePrioritiseSpeedCostDistance 

5 单路径: 速度优先 & 费用优先 & 距离优先 Single route: Speed first & cost first & distance first

AMapNaviDrivingStrategySingleAvoidHighway 

6 单路径: 不走高速 Single route: avoid highways

AMapNaviDrivingStrategySingleAvoidHighwayAndCost 

7 单路径: 不走高速 & 避免收费 Single route: avoid highways & avoid tolls

AMapNaviDrivingStrategySingleAvoidCostAndCongestion 

8 单路径: 避免收费 & 躲避拥堵 Single route: avoid tolls & avoid congestion

AMapNaviDrivingStrategySingleAvoidHighwayAndCostAndCongestion 

9 单路径: 不走高速 & 避免收费 & 躲避拥堵 Single route: avoid highways & avoid tolls & avoid congestion

AMapNaviDrivingStrategyMultipleDefault 

10 多路径: 默认,速度优先(避让拥堵+速度优先+避免收费) Multiple routes: Default, Speed priority (Avoid congestion + Speed priority + Avoid tolls)

AMapNaviDrivingStrategyMultipleShortestTimeDistance 

11 多路径: 时间最短 & 距离最短 Multiple routes: Shortest time & Shortest distance

AMapNaviDrivingStrategyMultipleAvoidCongestion 

12 多路径: 躲避拥堵 Multiple routes: Avoid congestion

AMapNaviDrivingStrategyMultipleAvoidHighway 

13 多路径: 不走高速 Multiple routes: Avoid highways

AMapNaviDrivingStrategyMultipleAvoidCost 

14 多路径: 避免收费 Multiple routes: Avoid tolls

AMapNaviDrivingStrategyMultipleAvoidHighwayAndCongestion 

15 多路径: 不走高速 & 躲避拥堵 Multiple routes: Avoid highways & Avoid congestion

AMapNaviDrivingStrategyMultipleAvoidHighwayAndCost 

16 多路径: 不走高速 & 避免收费 Multiple routes: Avoid highways & Avoid tolls

AMapNaviDrivingStrategyMultipleAvoidCostAndCongestion 

17 多路径: 避免收费 & 躲避拥堵 Multiple routes: Avoid tolls & Avoid congestion

AMapNaviDrivingStrategyMultipleAvoidHighwayAndCostAndCongestion 

18 多路径: 不走高速 & 避免收费 & 躲避拥堵 Multiple routes: Avoid highways & Avoid tolls & Avoid congestion

AMapNaviDrivingStrategyMultiplePrioritiseHighway 

19 多路径: 高速优先 Multiple routes: Highway priority

AMapNaviDrivingStrategyMultiplePrioritiseHighwayAvoidCongestion 

20 多路径: 高速优先 & 躲避拥堵 Multiple routes: Highway priority & Avoid congestion

AMapNaviMotorStrategyMultipleDefault 

2001 针对摩托车多路径: 默认 Multiple routes for motorcycles: Default since 8.0.0

AMapNaviMotorStrategyMultipleAvoidHighway 

2002 针对摩托车多路径: 不走高速 Multiple routes for motorcycles: Avoid highways since 8.0.0

AMapNaviMotorStrategyMultiplePrioritiseHighway 

2003 针对摩托车多路径: 高速优先 Multiple routes for motorcycles: Highway priority since 8.0.0

AMapNaviMotorStrategyMultipleAvoidCost 

2004 针对摩托车多路径: 避免收费 Multiple routes for motorcycles: Avoid tolls since 8.0.0

AMapNaviDrivingStrategySingleAvoidHighwayAvoidCongestion 
AMapNaviDrivingStrategySinglePrioritiseHighway 

单路径:不走高速&躲避拥堵 Single route: Avoid highways & traffic congestion since10.2.0

AMapNaviDrivingStrategySinglePrioritiseHighwayAvoidCongestion 

单路径:高速优先&速度优先 Single route: Highway priority & Speed priority since10.2.0

AMapNaviDrivingStrategySinglePrioritiseHighwayAndDistance 

单路径:高速优先&躲避拥堵 Single route: prioritize highways & avoid congestion since10.2.0

AMapNaviDrivingStrategySingleAvoidHighwayAndShortestDistance 

单路径:高速优先&距离优先 Single route: Highway priority & Distance priority since10.2.0

AMapNaviDrivingStrategySingleAvoidHighwayPrioritiseSpeedCostDistance 

单路径:不走高速&距离优先 Single path: Do not take highways&prioritize distance since since10.2.0

◆ AMapNaviElevatedRoadStatusFlag

可切换到的高架上下类型 since 6.6.0 Can switch to the type of elevated road

Enumerator
AMapNaviElevatedRoadStatusFlagNone 

0 无高架可切换 No elevated road to switch

AMapNaviElevatedRoadStatusFlagUnder 

1 可切换到高架下 Can switch to under elevated road

AMapNaviElevatedRoadStatusFlagUp 

2 可切换到高架上 Can switch to on elevated road

◆ AMapNaviError

enum AMapNaviError : NSInteger

AMapNavi的错误信息 AMapNavi error message

Enumerator
AMapNaviUnknowError 

未知错误 Unknown error

AMapNaviErrorNoGPSPermission 

没有定位权限 No location permission

AMapNaviErrorNoFullGPSAccuracyPermission 

没有定位的精确位置权限 No precise location permission

◆ AMapNaviFormWay

enum AMapNaviFormWay : NSInteger

AMapNaviLink的主辅路信息 AMapNaviLink's main and auxiliary road information

Enumerator
AMapNaviFormWayNone 

-1 无效 Invalid

AMapNaviFormWayMainRoad 

1 主路 Main road

AMapNaviFormWayInternalRoad 

2 路口内部道路 Intersection internal roads

AMapNaviFormWayJCT 

3 JCT道路 JCT roads

AMapNaviFormWayRoundabout 

4 环岛 Roundabouts

AMapNaviFormWayRestArea 

5 服务区 Service Area

AMapNaviFormWayRamp 

6 匝道 Ramp

AMapNaviFormWaySideRoad 

7 辅路 Frontage Road

AMapNaviFormWayRampAndJCT 

8 匝道与JCT Ramp and JCT

AMapNaviFormWayExit 

9 出口 Exit

AMapNaviFormWayEntrance 

10 入口 Entrance

AMapNaviFormWayTurnRightRoadA 

11 A类右转专用道 Class A Right-Turn Lane

AMapNaviFormWayTurnRightRoadB 

12 B类右转专用道 Class B Right-Turn Lane

AMapNaviFormWayTurnLeftRoadA 

13 A类左转专用道 Class A Left-Turn Lane

AMapNaviFormWayTurnLeftRoadB 

14 B类左转专用道 Class B Left-Turn Lane

AMapNaviFormWayNormalRoad 

15 普通道路 Ordinary Road

AMapNaviFormWayTurnLeftAndRightRoad 

16 左右转专用道 Left and Right Turn Lane

AMapNaviFormWayRestAreaAndJCT 

53 服务区与JCT Service Area and JCT

AMapNaviFormWayRestAreaAndRamp 

56 服务区与匝道 Service Area and Ramp

AMapNaviFormWayRestAreaRampJCT 

58 服务区与匝道以及JCT Service Area, Ramp and JCT

◆ AMapNaviGPSSignalStrength

enum AMapNaviGPSSignalStrength : NSInteger

卫星定位信号强度类型 since 7.8.0 卫星定位信号强度类型只在导航中才有效 Satellite positioning signal strength type, Satellite positioning signal strength type is only effective during navigation

Enumerator
AMapNaviGPSSignalStrengthUnknow 
AMapNaviGPSSignalStrengthStrong 
AMapNaviGPSSignalStrengthWeak 
AMapNaviGPSSignalStrengthSmartPos 

◆ AMapNaviIconType

enum AMapNaviIconType : NSInteger

导航段转向图标类型 Navigation segment turn icon types

Enumerator
AMapNaviIconTypeNone 

0 无定义 Undefined

AMapNaviIconTypeDefault 

1 车图标 Car icon

AMapNaviIconTypeLeft 

2 左转图标 Left turn icon

AMapNaviIconTypeRight 

3 右转图标 Right turn icon

AMapNaviIconTypeLeftFront 

4 左前方图标 Front left icon

AMapNaviIconTypeRightFront 

5 右前方图标 Front right icon

AMapNaviIconTypeLeftBack 

6 左后方图标 Rear left icon

AMapNaviIconTypeRightBack 

7 右后方图标 Rear right icon

AMapNaviIconTypeLeftAndAround 

8 左转掉头图标 U-turn left icon

AMapNaviIconTypeStraight 

9 直行图标 Straight icon

AMapNaviIconTypeArrivedWayPoint 

10 到达途经点图标 Waypoint arrival icon

AMapNaviIconTypeEnterRoundabout 

11 进入环岛图标 Enter roundabout icon

AMapNaviIconTypeOutRoundabout 

12 驶出环岛图标 Exit roundabout icon

AMapNaviIconTypeArrivedServiceArea 

13 到达服务区图标 Arrive at service area icon

AMapNaviIconTypeArrivedTollGate 

14 到达收费站图标 Arrive at toll station icon

AMapNaviIconTypeArrivedDestination 

15 到达目的地图标 Arrive at destination icon

AMapNaviIconTypeArrivedTunnel 

16 进入隧道图标 Enter tunnel icon

AMapNaviIconTypeEntryLeftRing 

17 进入环岛图标,左侧通行地区的顺时针环岛 Enter roundabout icon, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeLeaveLeftRing 

18 驶出环岛图标,左侧通行地区的顺时针环岛 Exit roundabout icon, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeUTurnRight 

19 右转掉头图标,左侧通行地区的掉头 U-turn icon for right turn, U-turn in left-hand traffic areas

AMapNaviIconTypeSpecialContinue 

20 顺行图标(和直行有区别,顺行图标带有虚线) Through icon (different from going straight, the through icon has dashed lines)

AMapNaviIconTypeEntryRingLeft 

21 标准小环岛 绕环岛左转,右侧通行地区的逆时针环岛 Standard small roundabout, turn left around the roundabout, counterclockwise roundabout in right-hand traffic areas

AMapNaviIconTypeEntryRingRight 

22 标准小环岛 绕环岛右转,右侧通行地区的逆时针环岛 Standard small roundabout, turn right around the roundabout, counterclockwise roundabout in right-hand traffic areas

AMapNaviIconTypeEntryRingContinue 

23 标准小环岛 绕环岛直行,右侧通行地区的逆时针环岛 Standard small roundabout, go straight around the roundabout, counterclockwise roundabout in right-hand traffic areas

AMapNaviIconTypeEntryRingUTurn 

24 标准小环岛 绕环岛调头,右侧通行地区的逆时针环岛 Standard small roundabout, make a U-turn around the roundabout, counterclockwise roundabout in right-hand traffic areas

AMapNaviIconTypeEntryLeftRingLeft 

25 标准小环岛 绕环岛左转,左侧通行地区的顺时针环岛 Standard small roundabout, turn left around the roundabout, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeEntryLeftRingRight 

26 标准小环岛 绕环岛右转,左侧通行地区的顺时针环岛 Standard small roundabout, turn right around the roundabout, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeEntryLeftRingContinue 

27 标准小环岛 绕环岛直行,左侧通行地区的顺时针环岛 Standard small roundabout, go straight around the roundabout, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeEntryLeftRingUTurn 

28 标准小环岛 绕环岛调头,左侧通行地区的顺时针环岛 Standard small roundabout, make a U-turn around the roundabout, clockwise roundabout in left-hand traffic areas

AMapNaviIconTypeCrosswalk 

29 通过人行横道图标 Via pedestrian crossing icon

AMapNaviIconTypeFlyover 

30 通过过街天桥图标 Via pedestrian overpass icon

AMapNaviIconTypeUnderpass 

31 通过地下通道图标 Via underground passage icon

AMapNaviIconTypeSquare 

32 通过广场图标 Via square icon

AMapNaviIconTypePark 

33 通过公园图标 Via park icon

AMapNaviIconTypeStaircase 

34 通过扶梯图标 Via escalator icon

AMapNaviIconTypeLift 

35 通过直梯图标 Via elevator icon

AMapNaviIconTypeCableway 

36 通过索道图标 Via cable car icon

AMapNaviIconTypeOverheadPassage 

37 通过空中通道图标 Via aerial passage icon

AMapNaviIconTypePassage 

38 通过建筑物穿越通道图标 Via building passage icon

AMapNaviIconTypeWalks 

39 通过行人道路图标 Via pedestrian path icon

AMapNaviIconTypeCruises 

40 通过游船路线图标 Via boat route icon

AMapNaviIconTypeSightseeingbus 

41 通过观光车路线图标 Via sightseeing vehicle route icon

AMapNaviIconTypeSlip 

42 通过滑道图标 Via slide icon

AMapNaviIconTypeStair 

43 通过阶梯图标 Via staircase icon

AMapNaviIconTypeSlope 

44 通过斜坡图标 Via ramp icon

AMapNaviIconTypeBridge 

45 通过桥图标 Via bridge icon

AMapNaviIconTypeFerryboat 

46 通过渡轮图标 Via ferry icon

AMapNaviIconTypeSubway 

47 通过地铁图标 Via subway icon

AMapNaviIconTypeEnterBuilding 

48 进入建筑物图标 Enter building icon

AMapNaviIconTypeLeaveBuilding 

49 离开建筑物图标 Exit building icon

AMapNaviIconTypeByElevator 

50 电梯换层图标 Elevator transfer icon

AMapNaviIconTypeByStair 

51 楼梯换层图标 Stair transfer icon

AMapNaviIconTypeEscalator 

52 扶梯换层图标 Escalator level change icon

AMapNaviIconTypeLowTrafficCross 

53 非导航段通过红绿灯路口图标 Non-navigation segment passing through traffic light intersection icon

AMapNaviIconTypeLowCross 

54 非导航段通过普通路口图标 Non-navigation segment passing through regular intersection icon

AMapNaviIconTypeMergeLeft 

65 靠左图标 Keep left icon since 9.0.0

AMapNaviIconTypeMergeRight 

66 靠右图标 Keep right icon since 9.0.0

◆ AMapNaviIntervalCameraPositionState

自车位置和区间测速电子眼路段的位置关系 since 6.0.0 The positional relationship between the ego vehicle and the section speed enforcement camera zone

Enumerator
AMapNaviIntervalCameraPositionStateNULL 

0 无 None

AMapNaviIntervalCameraPositionStateReady 

1 即将进入区间测速路段(还未进入) About to enter the section speed enforcement zone (not yet entered)

AMapNaviIntervalCameraPositionStateIn 

2 在区间测速路段内 Within the section speed enforcement zone

AMapNaviIntervalCameraPositionStateOut 

3 已离开区间测速路段(包括:已经过了测速路段终点 和 中途从区间中离开了) Exited the section speed enforcement zone (including: passed the endpoint of the speed enforcement section and left midway from the zone)

◆ AMapNaviInvokerType

enum AMapNaviInvokerType : NSUInteger
Enumerator
AMapNaviInvokerTypeNavi 
AMapNaviInvokerTypePlan 

◆ AMapNaviLinkType

enum AMapNaviLinkType : NSInteger

AMapNaviLink的LinkType类型 since 6.3.0 AMapNaviLink's LinkType type

Enumerator
AMapNaviLinkTypeNull 

无效 Invalid

AMapNaviLinkTypeNormalRoad 

普通道路 Ordinary road

AMapNaviLinkTypeFairway 

航道 Waterway

AMapNaviLinkTypeUnderPass 

隧道 Tunnel

AMapNaviLinkTypeBridge 

桥梁 Bridge

AMapNaviLinkTypeElevatedRd 

高架路 Elevated road

◆ AMapNaviMode

enum AMapNaviMode : NSInteger

导航模式 Navigation mode

Enumerator
AMapNaviModeNone 

没有开始导航 Navigation not started

AMapNaviModeGPS 

实时导航 Real-time navigation

AMapNaviModeEmulator 

模拟导航 Simulation navigation

◆ AMapNaviOnlineCarHailingType

enum AMapNaviOnlineCarHailingType : NSInteger

驾车导航网约车模式 since 6.4.0 Driving navigation ride-hailing mode

Enumerator
AMapNaviOnlineCarHailingTypeInvalid 

无效类型 Invalid type

AMapNaviOnlineCarHailingTypeNone 

非网约车模式, 即正常的默认模式 Non-ride-hailing mode, i.e. the normal default mode

AMapNaviOnlineCarHailingTypePickUp 

网约车接驾模式 Ride-hailing pick-up mode

AMapNaviOnlineCarHailingTypeTransport 

网约车送驾模式 Ride-hailing drop-off mode

◆ AMapNaviOwnershipType

enum AMapNaviOwnershipType : NSInteger
Enumerator
AMapNaviOwnershipPublicRoad 

公共道路 Public roads

AMapNaviOwnershipInternalRoad 

内部道路 Internal roads

AMapNaviOwnershipPrivateRoad 

私有道路 Private roads

AMapNaviOwnershipUndergroundParkRoad 

地下停车场道路 Underground parking lot roads

AMapNaviOwnership3DParkRoad 

立体停车场道路 Multi-story parking lot roads

◆ AMapNaviParallelRoadStatusFlag

可切换到的主辅路类型 since 5.3.0 Switchable main and auxiliary road types

Enumerator
AMapNaviParallelRoadStatusFlagNone 

0 无主辅路可切换 No main or auxiliary road to switch

AMapNaviParallelRoadStatusFlagAssist 

1 可切换到辅路 Can switch to auxiliary road

AMapNaviParallelRoadStatusFlagMain 

2 可切换到主路 Can switch to main road

◆ AMapNaviRingType

enum AMapNaviRingType : NSInteger

导航过程中提示音的类型 since 5.4.0 Types of prompts during navigation

Enumerator
AMapNaviRingTypeNULL 

0 无 None

AMapNaviRingTypeReroute 

1 偏航重算的提示音 Prompt sound for recalculating the route

AMapNaviRingTypeDing 

100 即将到达转向路口时的提示音 Prompt sound when approaching a turning intersection

AMapNaviRingTypeDong 

101 导航状态下通过测速电子眼的提示音 Prompt sound when passing a speed camera in navigation mode

AMapNaviRingTypeElecDing 

102 巡航状态下通过电子眼(所有类型)的提示音 Prompt sound when passing through electronic eyes (all types) in cruise mode

AMapNaviRingTypeElecOverSpeedDing 

103 巡航状态下电子眼播报点超速时的提示音 Prompt sound when exceeding the speed limit at electronic eye broadcast points in cruise mode

◆ AMapNaviRoadClass

enum AMapNaviRoadClass : NSInteger

AMapNaviLink的道路类型 Road types of AMapNaviLink

Enumerator
AMapNaviRoadClassHighWay 

0 高速公路 Highway

AMapNaviRoadClassNationalRoad 

1 国道 National highway

AMapNaviRoadClassProvincialRoad 

2 省道 Provincial highway

AMapNaviRoadClassCountyRoad 

3 县道 County road

AMapNaviRoadClassVillageRoad 

4 乡公路 Township road

AMapNaviRoadClassCountyInternalRoad 

5 县乡村内部道路 Village road

AMapNaviRoadClassMainStreet 

6 主要大街、城市快速道 Main streets, urban expressways

AMapNaviRoadClassMainRoad 

7 主要道路 Main roads

AMapNaviRoadClassMinorRoad 

8 次要道路 Secondary roads

AMapNaviRoadClassNormalRoad 

9 普通道路 Ordinary roads

AMapNaviRoadClassNotNaviRoad 

10 非导航道路 Non-navigation roads

◆ AMapNaviRoadFacilityType

enum AMapNaviRoadFacilityType : NSInteger

道路设施信息类型 since 6.0.0 Road facility information type

Enumerator
AMapNaviRoadFacilityTypeNULL 

0 无 None

AMapNaviRoadFacilityTypeLeftInterflow 

左侧合流 Merge left

AMapNaviRoadFacilityTypeRightInterflow 

右侧合流 Merge right

AMapNaviRoadFacilityTypeSharpTurn 

急转弯 Sharp turn

AMapNaviRoadFacilityTypeReverseTurn 

反向转弯 Reverse turn

AMapNaviRoadFacilityTypeLinkingTurn 

连续转弯 Continuous turn

AMapNaviRoadFacilityTypeAccidentArea 

事故多发地 Accident-prone area

AMapNaviRoadFacilityTypeFallingRocks 

注意落石 Beware of falling rocks

AMapNaviRoadFacilityTypeFailwayCross 

铁路道口 Railway crossing

AMapNaviRoadFacilityTypeSlippery 

易滑 Slippery

AMapNaviRoadFacilityTypeMaxSpeedLimit 

最大限速标志 Maximum speed limit sign

AMapNaviRoadFacilityTypeMinSpeedLimit 

最小限速标志 Minimum speed limit sign

AMapNaviRoadFacilityTypeVillage 

村庄 Village

AMapNaviRoadFacilityTypeLeftNarrow 

左侧变窄 Narrowing on the left

AMapNaviRoadFacilityTypeRightNarrow 

右侧变窄 Narrowing on the right

AMapNaviRoadFacilityTypeDoubleNarrow 

两侧变窄 Narrowing on both sides

AMapNaviRoadFacilityTypeCrosswindArea 

横风区 Crosswind area

AMapNaviRoadFacilityTypeTruckHeightLimit 

货车限高 Truck height limit

AMapNaviRoadFacilityTypeTruckWidthLimit 

货车限宽 Truck width limit

AMapNaviRoadFacilityTypeTruckWeightLimit 

货车限重 Truck weight limit

AMapNaviRoadFacilityTypeCheckPoint 

货车检查站 Truck inspection station

◆ AMapNaviRouteIconPointType

enum AMapNaviRouteIconPointType : NSInteger

路径的扎点信息类型 since 6.3.0 Path's anchor point information type

Enumerator
AMapNaviRouteIconPointTypeNULL 

无效类型 Invalid type

AMapNaviRouteIconPointTypeFoot 

步行扎点 Walking anchor point

AMapNaviRouteIconPointTypeVehicleFerry 

汽车轮渡 Car ferry

AMapNaviRouteIconPointTypeMannedFerry 

载人轮渡 Passenger ferry

◆ AMapNaviRouteNotifyDataType

enum AMapNaviRouteNotifyDataType : NSInteger

导航过程中关于路线的‘通知信息’的类型 since 6.2.0 Type of 'notification information' about the route during navigation

Enumerator
AMapNaviRouteNotifyDataTypeNULL 

0 无效 Invalid

AMapNaviRouteNotifyDataTypeRestrictArea 

1 限行区域通知 Restricted area notification

AMapNaviRouteNotifyDataTypeForbidArea 

2 禁行区域通知 No-entry zone notification

AMapNaviRouteNotifyDataTypeRoadClosedArea 

3 道路关闭通知 Road closure notification

AMapNaviRouteNotifyDataTypeJamArea 

4 拥堵区域通知 Congestion area notification

AMapNaviRouteNotifyDataTypeDispatch 

5 交警路线调度通知 Traffic police route dispatch notification

AMapNaviRouteNotifyDataTypeChangeMainRoute 

20 备选路线切换为主路线的结果通知 Alternate route switched to main route notification

AMapNaviRouteNotifyDataTypeGPSSignalWeak 

21 手机卫星定位信号弱的通知 Notification of Weak Satellite Positioning Signal on Mobile Phone

◆ AMapNaviRoutePlanPOIType

enum AMapNaviRoutePlanPOIType : NSInteger

路径规划时POI点的起终点类型 POI point type in route planning

Enumerator
AMapNaviRoutePlanPOITypeStart 

0 起点 Start point

AMapNaviRoutePlanPOITypeEnd 

1 终点 End point

AMapNaviRoutePlanPOITypeWay 

2 途径点 Waypoint

◆ AMapNaviRoutePlanType

enum AMapNaviRoutePlanType : NSInteger

路径规划类型 since 5.5.0 Route planning type

Enumerator
AMapNaviRoutePlanTypeCommon 

1 直接算路 Direct route calculation

AMapNaviRoutePlanTypeYaw 

2 偏航重算 Recalculation after deviation

AMapNaviRoutePlanTypeChangeStratege 

3 切换算路策略 Switching route calculation strategy

AMapNaviRoutePlanTypeParallelRoad 

4 平行路切换 Parallel road switching

AMapNaviRoutePlanTypeTMC 

5 躲避拥堵 Avoiding congestion

AMapNaviRoutePlanTypeLimitLine 

6 限行算路(车牌限行) Route calculation with traffic restrictions (license plate restrictions)

AMapNaviRoutePlanTypeDamagedRoad 

7 道路关闭 Road closure

AMapNaviRoutePlanTypeChangeJnyPnt 

9 停车场模式/沿途搜索设置行程点 Parking mode/Search for waypoints along the route

AMapNaviRoutePlanTypeUpdateCityData 

10 更新城市数据引起的重算 Recalculation caused by city data updates

AMapNaviRoutePlanTypeLimitForbid 

11 限时禁行引起的重算(在线) Recalculation due to temporary traffic restrictions (online)

AMapNaviRoutePlanTypeManualRefresh 

12 手动刷新 Manual refresh

AMapNaviRoutePlanTypeMutiRouteRequest 

14 导航中请求备选路线 Requesting alternative routes during navigation

AMapNaviRoutePlanTypeDispatch 

16 交警调度请求路线 Traffic police dispatch requesting routes

AMapNaviRoutePlanTypePushRouteData 

200 PushRouteData进行导航 Navigation via PushRouteData

◆ AMapNaviRouteStatus

enum AMapNaviRouteStatus : NSInteger

道路状态。特别注意:10.0.0新增Default、FineOpen Road status. Special note: Version 10.0.0 adds Default and FineOpen

Enumerator
AMapNaviRouteStatusUnknow 

0 未知状态 Unknown status

AMapNaviRouteStatusSmooth 

1 通畅 Clear

AMapNaviRouteStatusSlow 

2 缓行 Slow moving

AMapNaviRouteStatusJam 

3 阻塞 Blocked

AMapNaviRouteStatusSeriousJam 

4 严重阻塞 Severely blocked

AMapNaviRouteStatusDefault 

5 默认路况(内部道路) Default traffic condition (internal road)

AMapNaviRouteStatusFineOpen 

6 极其畅通 Extremely clear

◆ AMapNaviSoundType

enum AMapNaviSoundType : NSInteger

导航播报类型. Navigation announcement type

Enumerator
AMapNaviSoundTypeDefault 

默认播报 Default announcement

AMapNaviSoundTypeNavigationStart 

开始导航 Start navigation since 7.8.0

AMapNaviSoundTypeNavigationEnd 

到达目的地 Arrived at destination since 7.8.0

AMapNaviSoundTypeYaw 

偏航播报 Off-route announcement since 7.9.0

AMapNaviSoundTypeInterrupt 

打断类型(播报内容为空),表示下一句播报很重要,可能会打断前句 Interruption type (announcement content is empty), indicating the next announcement is important and may interrupt the previous one. since 7.8.0

◆ AMapNaviTrafficEventType

enum AMapNaviTrafficEventType : NSInteger

交通事件类型。since 10.0.920 Traffic incident type. since 10.0.920

Enumerator
AMapNaviTrafficEventTypeAccident 
AMapNaviTrafficEventTypeConstruction 
AMapNaviTrafficEventTypeClose 
AMapNaviTrafficEventTypeControl 

◆ AMapNaviTravelStrategy

enum AMapNaviTravelStrategy : NSInteger

骑步行算路策略. since 7.5.0 Biking/walking route planning strategy

Enumerator
AMapNaviTravelStrategySingleDefault 

算路支持一条 Route calculation supports one route

AMapNaviTravelStrategyMultipleDefault 

算路支持多条 Route calculation supports multiple routes

◆ AMapNaviType

enum AMapNaviType : NSInteger

导航类型 since 10.0.900 Navigation type

Enumerator
AMapNaviTypeInvalid 

无效值 Invalid value

AMapNaviTypeDrive 

驾车 Driving

AMapNaviTypeRide 

骑行(自行车) Cycling (Bicycle)

AMapNaviTypeWalk 

步行 Walking

AMapNaviTypeEleBike 

骑行(电动车) Cycling (Electric Vehicle)

◆ AMapNaviViewMapModeType

enum AMapNaviViewMapModeType : NSInteger

导航界面中的地图样式类型 since 6.7.0 Map style type in the navigation interface

Enumerator
AMapNaviViewMapModeTypeDay 

白天模式 Day mode

AMapNaviViewMapModeTypeNight 

黑夜模式 Night mode

AMapNaviViewMapModeTypeDayNightAuto 

根据日出日落时间自动切换白天黑夜 Automatically switch between day and night based on sunrise and sunset times

AMapNaviViewMapModeTypeCustom 

自定义地图样式 (还需传入 MAMapCustomStyleOptions ) Custom map style (MAMapCustomStyleOptions also needs to be passed)

◆ AMapNaviViewTrackingMode

enum AMapNaviViewTrackingMode : NSInteger

导航界面跟随模式 Navigation interface follow mode

Enumerator
AMapNaviViewTrackingModeMapNorth 

0 正北朝上 North up

AMapNaviViewTrackingModeCarNorth 

1 车头朝上 Head up

Function Documentation

◆ ConvertDrivingPreferenceToDrivingStrategy()

FOUNDATION_EXTERN AMapNaviDrivingStrategy ConvertDrivingPreferenceToDrivingStrategy ( BOOL  multipleRoute,
BOOL  avoidCongestion,
BOOL  avoidHighway,
BOOL  avoidCost,
BOOL  prioritiseHighway 
)

将驾车路线规划的偏好设置转换为驾车路径规划策略.注意:当prioritiseHighway为YES时,将忽略avoidHighway和avoidCost的设置 Convert the preference settings for driving route planning into driving route planning strategies. Note: When prioritiseHighway is YES, the settings for avoidHighway and avoidCost will be ignored.

Parameters
multipleRoute是否多路径规划 Whether multi-route planning
avoidCongestion是否躲避拥堵 Whether to avoid congestion
avoidHighway是否不走高速 Whether to avoid highways
avoidCost是否避免收费 Whether to avoid tolls
prioritiseHighway是否高速优先 Whether to prioritize highways
Returns
AMapNaviDrivingStrategy路径规划策略 AMapNaviDrivingStrategy Route Planning Strategy

◆ CreateLaneInfoImageWithLaneInfo()

FOUNDATION_EXTERN UIImage* CreateLaneInfoImageWithLaneInfo ( NSString *  laneBackInfo,
NSString *  laneSelectInfo 
)

创建车道信息图片 Create lane information image

Parameters
laneBackInfo车道背景信息 Lane background information
laneSelectInfo车道选择信息 Lane selection information
Returns
车道信息图片 Lane information image

◆ NS_OPTIONS() [1/3]

typedef NS_OPTIONS ( NSUInteger  ,
AMapNaviCompositeBroadcastType   
)

导航组件中的语音播报类型 since 7.1.0 Voice broadcast type in the navigation component

< 详细播报 Detailed broadcast

< 简洁播报 Concise broadcast

< 静音 Mute

◆ NS_OPTIONS() [2/3]

typedef NS_OPTIONS ( NSUInteger  ,
AMapNaviRouteAnnoState   
)

导航中路线上各种点是否显示的状态枚举 Enumeration of the display status of various points on the navigation route

◆ NS_OPTIONS() [3/3]

typedef NS_OPTIONS ( NSUInteger  ,
AMapNaviSlopeType   
)

上下坡类型 Upstream and downhill types

Variable Documentation

◆ AMapNaviErrorDomain

NSString* const AMapNaviErrorDomain
extern

AMapNavi的错误Domain AMapNavi error domain

© 2017 高德信息技术有限公司 版权所有,保留所有权利。