Files
youle_app_ios/AMapFoundationKit.framework/Headers/AMapServices.h
2023-12-27 20:38:37 +08:00

29 lines
1.2 KiB
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// AMapSearchServices.h
// AMapSearchKit
//
// Created by xiaoming han on 15/6/18.
// Copyright (c) 2015年 xiaoming han. All rights reserved.
//
#import <Foundation/Foundation.h>
///高德SDK服务类
@interface AMapServices : NSObject
/**
* @brief 获取单例
*/
+ (AMapServices *)sharedServices;
///APIkey。设置key需要绑定对应的bundle id。
@property (nonatomic, copy) NSString *apiKey;
///是否开启HTTPS从1.3.3版本开始默认为YES。
@property (nonatomic, assign) BOOL enableHTTPS;
///是否启用崩溃日志上传。默认为YES, 只有在真机上设置有效。\n开启崩溃日志上传有助于我们更好的了解SDK的状况可以帮助我们持续优化和改进SDK。需要注意的是SDK内部是通过设置NSUncaughtExceptionHandler来捕获异常的如果您的APP中使用了其他收集崩溃日志的SDK或者自己有设置NSUncaughtExceptionHandler的话请保证 AMapServices 的初始化是在其他设置NSUncaughtExceptionHandler操作之后进行的我们的handler会再处理完异常后调用前一次设置的handler保证之前设置的handler会被执行。
@property (nonatomic, assign) BOOL crashReportEnabled;
@end