9 #import <Foundation/Foundation.h> 18 @protocol MBBusQueryDelegate <NSObject>
23 - (void)busQueryStart;
28 - (void)busQueryFailed;
33 - (void)busQueryCanceled;
38 - (void)busQueryNoresult;
43 - (void)busQueryCompleted;
48 - (void)busQueryGetCurrentCityFailed;
66 @property (nonatomic, weak) id<MBBusQueryDelegate>
delegate;
76 @property (nonatomic, copy) NSString *
hostURL;
103 - (void)queryBusLinesByKeyword:(NSString *)keyword withOption:(MBBusQueryOption)options suggest:(BOOL)suggestOnly;
111 - (void)queryBusLinesByPosition:(
MBPoint)poi withOption:(MBBusQueryOption)options;
119 - (void)queryBusLinesByStation:(NSString *)stationName withOption:(MBBusQueryOption)options;
127 - (void)queryBusLineDetail:(NSString *)busId;
136 - (void)queryStationsByKeyword:(NSString *)keyword withOption:(MBBusQueryOption)options suggest:(BOOL)suggestOnly;
143 - (void)queryStationsByPosition:(
MBPoint)pos withOption:(MBBusQueryOption)options;
150 - (void)querySubwayEntrances:(NSString *)stationName;
190 - (
MBBusLine *)getResultAsBusLine:(NSInteger)index;
200 - (
MBBusStation *)getResultAsBusStation:(NSInteger)index;
210 - (
MBBusRoute *)getResultAsBusRoute:(NSInteger)index;
instancetype defaultParams()
NSInteger maxResultNumber
Definition: MBBusQuery.h:240
Definition: MBSubwayEntrance.h:14
MBWmrObjId wmrId
Definition: MBBusQuery.h:81
MBBusQueryMode mode
Definition: MBBusQuery.h:61
Definition: MBBusStation.h:15
MBBusQueryMode
Definition: MBBusBaseType.h:15
id< MBBusQueryDelegate > delegate
Definition: MBBusQuery.h:66
Definition: MBBusQuery.h:225
unsigned int MBWmrObjId
Definition: MBWmrBaseTypes.h:12
NSString * hostURL
Definition: MBBusQuery.h:76
MBBusQueryParams * params
Definition: MBBusQuery.h:71
Definition: MBBusQuery.h:57
Definition: MBObject.h:16
Definition: MBBusRoute.h:14
NSInteger searchRange
Definition: MBBusQuery.h:245
Definition: MBBusLine.h:15
Definition: MBBusRoutePlan.h:15
instancetype sharedBusQuery()
NSInteger getResultNumber()
NSInteger desiredMemorySize
Definition: MBBusQuery.h:235
Definition: MBNaviCoreBase.h:31