BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKWalkCycleDefine.h
浏览该文件的文档.
1 //
2 // BMKWalkCycleDefine.h
3 // WalkCycleComponent
4 //
5 // Created by Xin,Qi on 24/01/2018.
6 // Copyright © 2018 Baidu. All rights reserved.
7 //
8
9 #ifndef BMK_WalkCycle_Define_h
10 #define BMK_WalkCycle_Define_h
11
34 typedef NS_ENUM(NSUInteger, BMKWalkCycleRoutePlanErrorCode) {
35 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_SUCCESS,
36 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_WRONGCOORD,
37 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_CALCFAIL,
38 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_NOOUTDATA,
39 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_NETERROR,
40 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_INVALIDSTART,
41 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_INVALIDEND,
42 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_TOOFAR_STARTTOROAD,
43 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_TOOFAR_DESTTOROAD,
44 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_TOONEAR_STARTTODEST,
45 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_TOOFAR_STARTTODEST,
46 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_TOOFAR_TOWAYPOINT,
47 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_INVALID,
48 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_INVALID_PERMiSSION,
49 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_INVALID_OPERATION_IN_SCTX,
50 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_BINDROUTE = 14131120,
51 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_ROUTEERROR = 14131130,
52 BMK_WALK_CYCLE_ROUTEPLAN_RESULT_FAIL_GUIDEINFOERROR = 14131140,
53 };
54
124 typedef NS_ENUM(NSUInteger, BMKWalkCycleGuideKind) {
125 BMK_WALK_CYCLE_MANEUVER_KIND_INVALID ,
126 BMK_WALK_CYCLE_MANEUVER_KIND_START ,
127 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT ,
128 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_FRONT ,
129 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT ,
130 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_BACK ,
131 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_BACK ,
132 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT ,
133 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_FRONT ,
134 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_FRONT_STRAIGHT ,
135 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_FRONT_STRAIGHT ,
136 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_PASSROAD_FRONT ,
137 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_PASSROAD_FRONT ,
138 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_PASSROAD_UTURN ,
139 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_PASSROAD_UTURN ,
140 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_RIGHT ,
141 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_RIGHT_FRONT ,
142 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_FRONT ,
143 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_LEFT_FRONT ,
144 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_LEFT ,
145 BMK_WALK_CYCLE_MANEUVER_KIND_LEFTDIAGONAL_PASSROAD_LEFT_BACK ,
146 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_LEFT ,
147 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_LEFT_FRONT ,
148 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_FRONT ,
149 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_RIGHT_FRONT ,
150 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_RIGHT ,
151 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHTDIAGONAL_PASSROAD_RIGHT_BACK ,
152 BMK_WALK_CYCLE_MANEUVER_KIND_PASSROAD_LEFT ,
153 BMK_WALK_CYCLE_MANEUVER_KIND_PASSROAD_RIGHT ,
154 BMK_WALK_CYCLE_MANEUVER_KIND_GOTO_LEFT_ROAD ,
155 BMK_WALK_CYCLE_MANEUVER_KIND_GOTO_RIGHT_ROAD ,
156 BMK_WALK_CYCLE_MANEUVER_KIND_GOTO_LEFT_ROAD_UTURN ,
157 BMK_WALK_CYCLE_MANEUVER_KIND_GOTO_RIGHT_ROAD_UTURN ,
158 BMK_WALK_CYCLE_MANEUVER_KIND_DEST ,
159 BMK_WALK_CYCLE_MANEUVER_KIND_OVERLINEBRIDGE ,
160 BMK_WALK_CYCLE_MANEUVER_KIND_UNDERGROUNDPASSAGE ,
161 BMK_WALK_CYCLE_MANEUVER_KIND_RING ,
162 BMK_WALK_CYCLE_MANEUVER_KIND_PARK ,
163 BMK_WALK_CYCLE_MANEUVER_KIND_SQUARE ,
164 BMK_WALK_CYCLE_MANEUVER_KIND_LADDER ,
165 BMK_WALK_CYCLE_MANEUVER_KIND_WAYPOINT ,
166
167 //复杂八方向
168 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_THREE_LEFTSIDE ,
169 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_THREE_MIDDLE ,
170 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_THREE_RIGHTSIDE,
171
172 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_TWO_LEFTSIDE,
173 BMK_WALK_CYCLE_MANEUVER_KIND_LEFT_TWO_RIGHTSIDE,
174
175 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_THREE_LEFTSIDE,
176 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_THREE_MIDDLE,
177 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_THREE_RIGHTSIDE,
178
179 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_TWO_LEFTSIDE,
180 BMK_WALK_CYCLE_MANEUVER_KIND_RIGHT_TWO_RIGHTSIDE,
181
182 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT_THREE_LEFTSIDE,
183 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT_THREE_MIDDLE,
184 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT_THREE_RIGHTSIDE,
185
186 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT_TWO_LEFTSIDE,
187 BMK_WALK_CYCLE_MANEUVER_KIND_FRONT_TWO_RIGHTSIDE,
188
189 BMK_WALK_CYCLE_MANEUVER_KIND_FERRY,
190
191 BMK_WALK_CYCLE_MANEUVER_KIND_START_ISINDOOR_DOOR,
192 BMK_WALK_CYCLE_MANEUVER_KIND_DEST_ISINDOOR_DOOR,
193
194 BMK_WALK_CYCLE_MANEUVER_KIND_ELEVATOR,
195 BMK_WALK_CYCLE_MANEUVER_KIND_STAIR,
196 BMK_WALK_CYCLE_MANEUVER_KIND_ESCALATOR,
197 BMK_WALK_CYCLE_MANEUVER_KIND_SECURITY_CHECK,
198 BMK_WALK_CYCLE_MANEUVER_KIND_INDOORSTART,
199 BMK_WALK_CYCLE_MANEUVER_KIND_INDOORDEST,
200 };
201
209 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationLanguageType) {
210 BMK_WALK_CYCLE_NAVIGATION_LANGUAGE_TYPE_CN,
211 BMK_WALK_CYCLE_NAVIGATION_LANGUAGE_TYPE_EN,
212 BMK_WALK_CYCLE_NAVIGATION_LANGUAGE_TYPE_CHT,
213 };
214
223 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationType) {
224 BMK_WALK_CYCLE_NAVIGATION_TYPE_WALK,
225 BMK_WALK_CYCLE_NAVIGATION_TYPE_NORMAL_CYCLE,
226 BMK_WALK_CYCLE_NAVIGATION_TYPE_ELECTRIC_CYCLE,
227 };
228
237 typedef NS_ENUM(NSUInteger, BMKWalkNavigationMode) {
238 BMK_WALK_NAVIGATION_MODE_WALK_NORMAL = 0,
239 BMK_WALK_NAVIGATION_MODE_WALK_AR = 1,
240 BMK_WALK_NAVIGATION_MODE_WALK_LIGHT = 2
241 };
242
246 typedef NS_ENUM(NSUInteger, BMKWalkNaviEngineScene) {
247 BMK_WALK_NAVI_ENGINE_OUT_DOOR,
248 BMK_WALK_NAVI_ENGINE_IN_DOOR
249 };
250
258 typedef NS_ENUM(NSUInteger, BMKCycleNavigationMode) {
259 BMK_CYCLE_NAVIGATION_MODE_NORMAL = 0,
260 BMK_CYCLE_NAVIGATION_MODE_CYCLE_LIGHT = 2
261 };
262
269 typedef NS_ENUM(NSUInteger, BMKWalkARGuiderResourceType) {
270 BMK_WALK_AR_GUIDER_RESOURCE_TYPE_DOWNLOAD_KEY,
271 BMK_WALK_AR_GUIDER_RESOURCE_TYPE_PATH,
272 };
273
282 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationLocationServiceErrorCode) {
283 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_SUCCESS,
284 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_OFF_ERROR,
285 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_NO_AUTH_ERROR,
286 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_NO_FULL_ACCURACY_AUTH_ERROR,
287 };
288
295 typedef NS_ENUM (NSInteger, BMKWalkNavigationRouteNodeType) {
296 BMKWalkNavigationRouteNodePOIID = 0,
297 BMKWalkNavigationRouteNodeLocation,
298 BMKWalkNavigationRouteNodeKeyword,
299 };
300
301
310 typedef NS_ENUM (NSInteger, BMKNaviExitType) {
311 BMKNaviExitTypeNormalHandle = 0,
312 BMKNaviExitTypeNormalAuto = 1 << 1,
313 BMKNaviExitTypeUnNormal = 1 << 2,
314 BMKNaviExitTypeLightNavi = 1 << 3
315 };
316
318 typedef NS_ENUM (NSInteger, BMKNaviMapRotateMode)
319 {
320 BMKNaviMapRotateModeRoute , // 路线朝上
321 BMKNaviMapRotateModeNorth , // 正北朝上
322 };
323
325 typedef NS_ENUM (NSInteger, BMKNaviMapOverlookingMode)
326 {
327 BMKNaviMapOverlookingMode2D , // 2D
328 BMKNaviMapOverlookingMode3D , // 3D
329 };
330
342 typedef NS_OPTIONS(NSUInteger, BMKNaviDrawElementType) {
343 BMKNaviDrawElementTypeRedLine = 1 << 0,
344 BMKNaviDrawElementTypeTrafficLight = 1 << 1,
345 BMKNaviDrawElementTypeTrafficLightPop = 1 << 2,
346 BMKNaviDrawElementTypeRoadNamePop = 1 << 3,
347 BMKNaviDrawElementTypeMilestone = 1 << 4,
348 BMKNaviDrawElementTypeFacility = 1 << 5,
349 BMKNaviDrawElementTypeFacilityPop = 1 << 6,
350 };
351
352
353 #endif /* BMK_WalkCycle_Define_h */
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, BMKNaviDrawElementType)
Definition: BMKWalkCycleDefine.h:342
NS_ENUM
typedef NS_ENUM(NSUInteger, BMKWalkCycleRoutePlanErrorCode)
Definition: BMKWalkCycleDefine.h:34