BaiduMap_IOSSDK_v7.0.0_Docs 7.0.0

BMKShareURLSearch.h
浏览该文件的文档.
1 /*
2 * BMKShareUrlSearch.h
3 * BMapKit
4 *
5 * Copyright 2014 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKShareUrlSearchOption.h"
10 #import "BMKSearchBase.h"
11
12 #pragma mark - 短串分享结果类
13 @interface BMKShareURLResult : NSObject
16 @property (nonatomic, copy) NSString *url;
17 @end
18
19
20 @protocol BMKShareURLSearchDelegate;
21 #pragma mark - 短串分享请求类
22 @interface BMKShareURLSearch : BMKSearchBase
25 @property (nonatomic, weak) id<BMKShareURLSearchDelegate> delegate;
26
33 - (BOOL)requestPoiDetailShareURL:(BMKPoiDetailShareURLOption *) poiDetailShareUrlSearchOption;
34
41 - (BOOL)requestLocationShareURL:(BMKLocationShareURLOption *)reverseGeoShareUrlSearchOption;
42
49 - (BOOL)requestRoutePlanShareURL:(BMKRoutePlanShareURLOption *)routePlanShareUrlSearchOption;
50
51 @end
52
53 #pragma mark - 短串分享结果代理回调类
54 @protocol BMKShareURLSearchDelegate <NSObject>
56 @optional
63 - (void)onGetPoiDetailShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
64
71 - (void)onGetLocationShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
72
79 - (void)onGetRoutePlanShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
80
81 @end
BMKSearchBase.h
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:139
BMKShareURLResult::url
NSString * url
返回结果url
Definition: BMKShareURLSearch.h:16
BMKPoiDetailShareURLOption
poi详情短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:13
BMKShareUrlSearchOption.h
BMKShareURLSearch
短串搜索服务
Definition: BMKShareURLSearch.h:24
BMKLocationShareURLOption
反geo短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:19
BMKShareURLResult
分享URL结果类
Definition: BMKShareURLSearch.h:15
BMKShareURLSearchDelegate-p
搜索delegate，用于获取搜索结果
Definition: BMKShareURLSearch.h:55
BMKSearchBase
检索服务基类
Definition: BMKSearchBase.h:14
BMKRoutePlanShareURLOption
路线规划短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:38