//
//  DMKAPIPoiSearchProtocol.h
//  Pods
//
//  Created by didi on 2025/8/19.
//

#ifndef POISearchProtocol_h
#define POISearchProtocol_h

#import "DMKAPIPoiTextSearchOption.h"
#import "DMKAPIPoiTextSearchResponse.h"
#import "DMKAPIPoiPlaceAroundOption.h"
#import "DMKAPIPoiPlaceAroundResponse.h"
#import "DMKAPIPoiInputTipsOption.h"
#import "DMKAPIPoiInputTipsResponse.h"
#import "DMKAPIReverseGeoOption.h"
#import "DMKReverseGeoResponse.h"
#import "DMKAPIRoutePlanOption.h"
#import "DMKAPIRoutePlanResponse.h"

NS_ASSUME_NONNULL_BEGIN

/*!
  POI检索回调代理协议类
*/
@protocol DMKSearchAPIDelegate <NSObject>

@optional
/*!
 获取周边搜索结果的代理方法

 @param request 发起请求
 @param response 响应请求
 */
- (void)onGetPlaceAroundSearch:(DMKAPIPoiPlaceAroundOption *)request response:(DMKAPIPoiPlaceAroundResponse *)response;

/*!
 获取关键词搜索结果的代理方法

 @param request 发起请求
 @param response 响应请求
 */
- (void)onGetTextSearch:(DMKAPIPoiTextSearchOption *)request response:(DMKAPIPoiTextSearchResponse *)response;

/*!
 获取输入提示结果的代理方法

 @param request 发起请求
 @param response 响应请求
 */
- (void)onGetInputTips:(DMKAPIPoiInputTipsOption *)request response:(DMKAPIPoiInputTipsResponse *)response;

/*!
 获取逆地理编码的代理方法

 @param request 发起请求
 @param response 响应请求
 */
- (void)onGetReverseGeo:(DMKAPIReverseGeoOption *)request response:(DMKReverseGeoResponse *)response;

/*!
 获取驾车路径规划的代理方法

 @param request 发起请求
 @param response 响应请求
 */
- (void)onGetRoutePlan:(DMKAPIRoutePlanOption *)request response:(DMKAPIRoutePlanResponse *)response;

@end

NS_ASSUME_NONNULL_END

#endif /* POISearchProtocol_h */
