From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 19 Jul 2018 13:38:55 +0800 Subject: [PATCH] change --- screendisplay/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Cloud.framework/Headers/BMKCloudSearch.h | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 111 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Cloud.framework/Headers/BMKCloudSearch.h b/screendisplay/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Cloud.framework/Headers/BMKCloudSearch.h new file mode 100644 index 0000000..7c8ad21 --- /dev/null +++ b/screendisplay/Pods/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Cloud.framework/Headers/BMKCloudSearch.h @@ -0,0 +1,111 @@ +/* + * BMKCloudSearch.h + * BMapKit + * + * Copyright 2013 Baidu Inc. All rights reserved. + * + */ + +#import <Foundation/Foundation.h> +#import "BMKCloudSearchInfo.h" +#import "BMKCloudPOIList.h" + +@protocol BMKCloudSearchDelegate; +/// ��������������� +typedef enum +{ + BMK_NONE_SEARCH = 0, + BMK_CLOUD_LOCAL_SEARCH = 1,///<��������������� + BMK_CLOUD_NEARBY_SEARCH = 2,///<��������������� + BMK_CLOUD_BOUND_SEARCH = 3,///<��������������� + BMK_CLOUD_DETAIL_SEARCH = 4,///<POI������ + BMK_CLOUD_RGC_SEARCH = 5///<���RGC������ +}BMKCloudSearchType; + +//������������������������ +typedef enum{ + BMK_CLOUD_PERMISSION_UNFINISHED = -4,///<������������������������������������������������ + BMK_CLOUD_NETWOKR_ERROR = -3,///<������������������ + BMK_CLOUD_NETWOKR_TIMEOUT = -2,///<������������������ + BMK_CLOUD_RESULT_NOT_FOUND = -1,///<������������������������ + BMK_CLOUD_NO_ERROR = 0,///<������������������������ + BMK_CLOUD_SERVER_ERROR = 1,///<������������������������������ + BMK_CLOUD_PARAM_ERROR = 2,///<���������������������geoTableId��������������������������� + /* + *������������������������������������ + *http://developer.baidu.com/map/index.php?title=lbscloud/api/appendix + */ +}BMKCloudErrorCode; + +///��������������� +@interface BMKCloudSearch : NSObject +/// ���������������Delegate���������������������������������������nil������������������������������ +@property (nonatomic, weak) id<BMKCloudSearchDelegate> delegate; +/** + *��������������� + *������������������������������BMKCloudSearchDelegate���onGetCloudPoiResult������ + *@param searchInfo ������������ + *@return ������������YES���������������NO + */ +- (BOOL)localSearchWithSearchInfo:(BMKCloudLocalSearchInfo *)searchInfo; +/** + *��������������� + *������������������������������BMKCloudSearchDelegate���onGetCloudPoiResult������ + *@param searchInfo ������������ + *@return ������������YES���������������NO + */ +- (BOOL)nearbySearchWithSearchInfo:(BMKCloudNearbySearchInfo *)searchInfo; +/** + *��������������� + *������������������������������BMKCloudSearchDelegate���onGetCloudPoiResult������ + *@param searchInfo ������������ + *@return ������������YES���������������NO + */ +- (BOOL)boundSearchWithSearchInfo:(BMKCloudBoundSearchInfo *)searchInfo; + +/** + *��������������� + *������������������������������BMKCloudSearchDelegate���onGetCloudPoiDetailResult������ + *@param searchInfo ������������ + *@return ������������YES���������������NO + */ +- (BOOL)detailSearchWithSearchInfo:(BMKCloudDetailSearchInfo *)searchInfo; + +/** + *���RGC��������������������������������������������� + *������������������������������BMKCloudSearchDelegate���onGetCloudReverseGeoCodeResult������ + *@param searchInfo ���RGC��������������� + *@return ������������YES���������������NO + */ +- (BOOL)cloudReverseGeoCodeSearch:(BMKCloudReverseGeoCodeSearchInfo*)searchInfo; + +@end + +///���������delegate������������������������������ +@protocol BMKCloudSearchDelegate<NSObject> +@optional +/** + *���������������POI������������ + *@param poiResultList ���������������������������������������BMKCloudPOIList + *@param type ��������������������� BMK_CLOUD_LOCAL_SEARCH,BMK_CLOUD_NEARBY_SEARCH,BMK_CLOUD_BOUND_SEARCH + *@param error ������������@see BMKCloudErrorCode + */ +- (void)onGetCloudPoiResult:(NSArray*)poiResultList searchType:(int)type errorCode:(int)error; + +/** + *���������������POI������ + *@param poiDetailResult ���������BMKCloudPOIInfo + *@param type ��������������������� BMK_CLOUD_DETAIL_SEARCH + *@param error ������������@see BMKCloudErrorCode + */ +- (void)onGetCloudPoiDetailResult:(BMKCloudPOIInfo*)poiDetailResult searchType:(int)type errorCode:(int)error; + +/** + *���������RGC������������ + *@param cloudRGCResult ������������ + *@param type ��������������������� BMK_CLOUD_RGC_SEARCH + *@param error ������������@see BMKCloudErrorCode + */ +- (void)onGetCloudReverseGeoCodeResult:(BMKCloudReverseGeoCodeResult*)cloudRGCResult searchType:(BMKCloudSearchType) type errorCode:(NSInteger) errorCode; + +@end -- Gitblit v1.8.0