ifish/Ifish/BMKMap3.3.0/BaiduMapAPI_Search.framework/Headers/BMKBusLineSearch.h

49 lines
1.2 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* BMKBusLineSearch.h
* BMapKit
*
* Copyright 2014 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKPoiSearchType.h"
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKBusLineSearchOption.h"
#import "BMKRouteSearchType.h"
#import "BMKSearchBase.h"
@protocol BMKBusLineSearchDelegate;
///busline搜索服务
@interface BMKBusLineSearch : BMKSearchBase
/// 检索模块的Delegate此处记得不用的时候需要置nil否则影响内存的释放
@property (nonatomic, weak) id<BMKBusLineSearchDelegate> delegate;
/**
*公交详情检索
*异步函数返回结果在BMKBusLineSearchDelegate的onGetBusDetailResult通知
*@param busLineSearchOption 公交线路检索信息类
*@return 成功返回YES否则返回NO
*/
- (BOOL)busLineSearch:(BMKBusLineSearchOption*)busLineSearchOption;
@end
///搜索delegate用于获取搜索结果
@protocol BMKBusLineSearchDelegate<NSObject>
@optional
/**
*返回busdetail搜索结果
*@param searcher 搜索对象
*@param busLineResult 搜索结果
*@param error 错误号,@see BMKSearchErrorCode
*/
- (void)onGetBusDetailResult:(BMKBusLineSearch*)searcher result:(BMKBusLineResult*)busLineResult errorCode:(BMKSearchErrorCode)error;
@end