BaiduMap_IOSSDK_v7.0.0_Docs 7.0.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
208 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationLanguageType) {
209 BMK_WALK_CYCLE_NAVIGATION_LANGUAGE_TYPE_CN,
210 BMK_WALK_CYCLE_NAVIGATION_LANGUAGE_TYPE_EN,
211 };
212
221 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationType) {
222 BMK_WALK_CYCLE_NAVIGATION_TYPE_WALK,
223 BMK_WALK_CYCLE_NAVIGATION_TYPE_NORMAL_CYCLE,
224 BMK_WALK_CYCLE_NAVIGATION_TYPE_ELECTRIC_CYCLE,
225 };
226
235 typedef NS_ENUM(NSUInteger, BMKWalkNavigationMode) {
236 BMK_WALK_NAVIGATION_MODE_WALK_NORMAL = 0,
237 BMK_WALK_NAVIGATION_MODE_WALK_AR = 1,
238 BMK_WALK_NAVIGATION_MODE_WALK_LIGHT = 2
239 };
240
244 typedef NS_ENUM(NSUInteger, BMKWalkNaviEngineScene) {
245 BMK_WALK_NAVI_ENGINE_OUT_DOOR,
246 BMK_WALK_NAVI_ENGINE_IN_DOOR
247 };
248
256 typedef NS_ENUM(NSUInteger, BMKCycleNavigationMode) {
257 BMK_CYCLE_NAVIGATION_MODE_NORMAL = 0,
258 BMK_CYCLE_NAVIGATION_MODE_CYCLE_LIGHT = 2
259 };
260
267 typedef NS_ENUM(NSUInteger, BMKWalkARGuiderResourceType) {
268 BMK_WALK_AR_GUIDER_RESOURCE_TYPE_DOWNLOAD_KEY,
269 BMK_WALK_AR_GUIDER_RESOURCE_TYPE_PATH,
270 };
271
280 typedef NS_ENUM(NSUInteger, BMKWalkCycleNavigationLocationServiceErrorCode) {
281 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_SUCCESS,
282 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_OFF_ERROR,
283 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_NO_AUTH_ERROR,
284 BMK_WALK_CYCLE_NAVIGATION_LOCATION_SERVICE_NO_FULL_ACCURACY_AUTH_ERROR,
285 };
286
293 typedef NS_ENUM (NSInteger, BMKWalkNavigationRouteNodeType) {
294 BMKWalkNavigationRouteNodePOIID = 0,
295 BMKWalkNavigationRouteNodeLocation,
296 BMKWalkNavigationRouteNodeKeyword,
297 };
298
299
308 typedef NS_ENUM (NSInteger, BMKNaviExitType) {
309 BMKNaviExitTypeNormalHandle = 0,
310 BMKNaviExitTypeNormalAuto = 1 << 1,
311 BMKNaviExitTypeUnNormal = 1 << 2,
312 BMKNaviExitTypeLightNavi = 1 << 3
313 };
314
316 typedef NS_ENUM (NSInteger, BMKNaviMapRotateMode)
317 {
318 BMKNaviMapRotateModeRoute , // 路线朝上
319 BMKNaviMapRotateModeNorth , // 正北朝上
320 };
321
323 typedef NS_ENUM (NSInteger, BMKNaviMapOverlookingMode)
324 {
325 BMKNaviMapOverlookingMode2D , // 2D
326 BMKNaviMapOverlookingMode3D , // 3D
327 };
328
340 typedef NS_OPTIONS(NSUInteger, BMKNaviDrawElementType) {
341 BMKNaviDrawElementTypeRedLine = 1 << 0,
342 BMKNaviDrawElementTypeTrafficLight = 1 << 1,
343 BMKNaviDrawElementTypeTrafficLightPop = 1 << 2,
344 BMKNaviDrawElementTypeRoadNamePop = 1 << 3,
345 BMKNaviDrawElementTypeMilestone = 1 << 4,
346 BMKNaviDrawElementTypeFacility = 1 << 5,
347 BMKNaviDrawElementTypeFacilityPop = 1 << 6,
348 };
349
350
351 #endif /* BMK_WalkCycle_Define_h */
NS_OPTIONS
typedef NS_OPTIONS(NSUInteger, BMKNaviDrawElementType)
Definition: BMKWalkCycleDefine.h:340
NS_ENUM
typedef NS_ENUM(NSUInteger, BMKWalkCycleRoutePlanErrorCode)
Definition: BMKWalkCycleDefine.h:34