Map Doc  1.0
iOS-引擎SDK-开放平台
MB4SServices.h
浏览该文件的文档.
1 //
2 // MB4SServices.h
3 // iNaviCore
4 //
5 // Created by fanyl on 14-5-4.
6 // Copyright (c) 2014年 Mapbar. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 #import "MBNaviCoreBase.h"
12 #import "MBWmrBaseTypes.h"// For MBWmrObjId type
13 
14 @class MB4SObject;
15 
19 typedef NS_ENUM(NSInteger, MBSortRule) {
22 };
23 
28 @interface MB4SServices : NSObject
32 + (void)construct;
36 + (void)cleanup;
44 + (NSInteger)getCarTypeNum;
54 + (NSString *)getCarTypeByIndex:(int)index;
62 + (NSInteger)queryCarBrands:(NSString *)carTypeName initials:(NSString *)initials;
69 + (NSString *)getCarBrandByIndex:(int)carBrandIndex;
75 + (void)setSortRule:(MBSortRule)sortRule;
85 + (BOOL)queryWithPoint:(MBPoint)carPos wmrNodeId:(MBWmrObjId)wmrNodeId type:(NSString *)type brand:(NSString *)brand keywords:(NSString *)keywords;
95 + (BOOL)queryByBrandAndWmrId:(MBPoint)carPos wmrNodeId:(int)wmrId brand:(NSString *)brand;
101 + (NSInteger)getResultRecordsNum;
109 + (MB4SObject *)getResultRecordByIndex:(int)index;
115 + (NSInteger)getCarBrandIndex:(NSString *)carBrandName;
123 + (NSInteger)getCarBrandSubSetIndex:(int)brandIndexInWholeSet;
129 + (void)setSearchAroundDis:(unsigned int)distanceLimit;
130 
131 @end
根据当前车的距离远近排序
Definition: MB4SServices.h:21
NSInteger getCarTypeNum()
Definition: MB4SObject.h:13
MBSortRule
Definition: MB4SServices.h:19
NSInteger getResultRecordsNum()
unsigned int MBWmrObjId
Definition: MBWmrBaseTypes.h:12
Definition: MB4SServices.h:28
Definition: MBNaviCoreBase.h:31
Definition: MB4SServices.h:20