iOS高德地图SDK(基础)  V1.8.2
AMapServices.h
Go to the documentation of this file.
1 //
2 // AMapSearchServices.h
3 // AMapSearchKit
4 //
5 // Created by xiaoming han on 15/6/18.
6 // Copyright (c) 2015年 xiaoming han. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 
16 extern BOOL _amapLocationOverseas;
17 
18 // 显示隐私弹窗状态 -1: unknow , 0 : 未显示 , 1 : 已显示
19 typedef NS_ENUM(NSInteger, AMapPrivacyShowStatus)
20 {
21  AMapPrivacyShowStatusUnknow = -1,
22  AMapPrivacyShowStatusNotShow = 0,
23  AMapPrivacyShowStatusDidShow = 1,
24 };
25 
26 // 集成SDK隐私信息状态 -1: unknow , 0 : 未集成 , 1 : 已集成
27 typedef NS_ENUM(NSInteger, AMapPrivacyInfoStatus)
28 {
29  AMapPrivacyInfoStatusUnknow = -1,
30  AMapPrivacyInfoStatusNotContain = 0,
31  AMapPrivacyInfoStatusDidContain = 1,
32 };
33 
34 // 用户同意隐私状态 -1: unknow , 0 : 未同意 , 1 : 已同意
35 typedef NS_ENUM(NSInteger, AMapPrivacyAgreeStatus)
36 {
37  AMapPrivacyAgreeStatusUnknow = -1,
38  AMapPrivacyAgreeStatusNotAgree = 0,
39  AMapPrivacyAgreeStatusDidAgree = 1,
40 };
41 
43 @interface AMapServices : NSObject
44 
49 
50 
52 @property (nonatomic, copy) NSString *apiKey;
53 
55 @property (nonatomic, assign) BOOL enableHTTPS;
56 
58 @property (nonatomic, assign) BOOL crashReportEnabled __attribute__((deprecated("从v1.5.7开始废弃,调用无任何作用")));
59 
61 @property (nonatomic, readonly) NSString *identifier;
62 
63 @end
_amapLocationOverseas
BOOL _amapLocationOverseas
AMapServices::crashReportEnabled
BOOL crashReportEnabled
是否启用崩溃日志上传。默认为YES, 只有在真机上设置有效。 开启崩溃日志上传有助于我们更好的了解SDK的状况,可以帮助我们持续优化和改进SDK。需要注意的是,SDK内部是通过设置NSUncaughtE...
Definition: AMapServices.h:58
AMapServices
高德SDK服务类
Definition: AMapServices.h:44
AMapServices::apiKey
NSString * apiKey
APIkey。设置key,需要在高德官网控制台绑定对应的bundleid。
Definition: AMapServices.h:52
AMapServices::enableHTTPS
BOOL enableHTTPS
是否开启HTTPS,从1.3.3版本开始默认为YES。
Definition: AMapServices.h:55
NS_ENUM
typedef NS_ENUM(NSInteger, AMapPrivacyShowStatus)
Definition: AMapServices.h:19
+[AMapServices sharedServices]
AMapServices * sharedServices()
获取单例
AMapServices::identifier
NSString * identifier
设备标识,取自idfv。用于排查问题时提供。
Definition: AMapServices.h:61
© 2017 高德信息技术有限公司 版权所有,保留所有权利。