BaiduMap_IOSSDK_v6.6.5_Docs 6.6.5
载入中...
搜索中...
未找到
BMKPoiSearchResult.h
浏览该文件的文档.
1//
2// BMKPOISearchResult.h
3// SearchComponent
4//
5// 本文件包含所有POI检索结果类
6// POI城市检索、POI周边检索、POI矩形区域检索服务都使用 BMKPOISearchResult 类
7// POI详情检索使用 BMKPOIDetailSearchResult 类
8// POI室内检索使用 BMKPOIIndoorSearchResult 类
9//
10// Created by Baidu on 2018年05月23日.
11// Copyright © 2018年 baidu. All rights reserved.
12//
13
14#import <Foundation/Foundation.h>
15#import "BMKPoiSearchType.h"
16
25typedef NS_ENUM(NSUInteger, BMKPOIResultType) {
26 BMK_POI_RESULT_TYPE_UNKNOWN,
27 BMK_POI_RESULT_TYPE_CITY = 1,
28 BMK_POI_RESULT_TYPE_POI,
29 BMK_POI_RESULT_TYPE_REGION,
30 BMK_POI_RESULT_TYPE_ADDRESS
31};
32
39typedef NS_ENUM(NSUInteger, BMKPOIQueryType) {
40 BMK_POI_QUERY_TYPE_UNKNOWN,
41 BMK_POI_QUERY_TYPE_PRECISE,
42 BMK_POI_QUERY_TYPE_GENERAL,
43};
44
45
46#pragma mark - POI搜索结果类
48@interface BMKPOISearchResult : NSObject
56@property (nonatomic, assign) NSInteger totalPOINum;
58@property (nonatomic, assign) NSInteger totalPageNum;
60@property (nonatomic, assign) NSInteger curPOINum;
62@property (nonatomic, assign) NSInteger curPageIndex;
64@property (nonatomic, copy) NSArray<BMKPoiInfo *> *poiInfoList;
66@property (nonatomic, assign) BMKPOIResultType resultType;
68@property (nonatomic, assign) BMKPOIQueryType queryType;
69@end
70
71
72#pragma mark - POI详情检索结果类
74@interface BMKPOIDetailSearchResult : NSObject
76@property (nonatomic, assign) NSInteger totalPOINum;
78@property (nonatomic, copy) NSArray<BMKPoiInfo *> *poiInfoList;
79@end
80
81
82#pragma mark - POI室内搜索结果类
84@interface BMKPOIIndoorSearchResult : NSObject
86@property (nonatomic, assign) NSInteger totalPOINum;
88@property (nonatomic, assign) NSInteger totalPageNum;
90@property (nonatomic, assign) NSInteger curPOINum;
92@property (nonatomic, assign) NSInteger curPageIndex;
94@property (nonatomic, strong) NSArray<BMKPoiIndoorInfo *> *poiIndoorInfoList;
95@end
typedef NS_ENUM(NSUInteger, BMKPOIResultType)
Definition BMKPoiSearchResult.h:25
POI详情检索结果类
Definition BMKPoiSearchResult.h:75
POI室内搜索结果类
Definition BMKPoiSearchResult.h:85
POI检索结果类,城市检索、周边检索、矩形区域检索服务都使用此结果类。
Definition BMKPoiSearchResult.h:49
NSInteger curPOINum
当前页的结果个数
Definition BMKPoiSearchResult.h:60
BMKPOIQueryType queryType
检索查询类型
Definition BMKPoiSearchResult.h:68
NSInteger totalPageNum
符合条件的检索结果总页数
Definition BMKPoiSearchResult.h:58
NSArray< BMKPoiInfo * > * poiInfoList
检索结果列表,成员是BMKPoiInfo
Definition BMKPoiSearchResult.h:64
NSInteger curPageIndex
当前页的页数索引
Definition BMKPoiSearchResult.h:62
BMKPOIResultType resultType
检索结果类型
Definition BMKPoiSearchResult.h:66
NSInteger totalPOINum
符合条件的检索结果总个数
Definition BMKPoiSearchResult.h:56