//
//  DMKBaseService.h
//  Pods
//
//  Created by liumu on 2019/7/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class DMKBaseService;

@protocol DMKBaseServiceDelegate <NSObject>

@required
#warning 🔥🔥这个代理必需实现,涉及各个SDK初始化
// 获取当前设备Id
- (NSString *)deviceIDOfService:(DMKBaseService *)service;
// 设置调试host
- (NSString *)renameRequestHost;
// 启动SDK失败
- (void)SDKServiceFailWithError:(NSError *)error;

@end

@interface DMKBaseService : NSObject

// 从滴滴获取的授权加密信息
@property (nonatomic, copy) NSString *authInfo __attribute__((deprecated("1.0.2版本后请用key来传递授权key")));
// SDK授权key
@property (nonatomic, copy) NSString *key;
// 过滤对app信息采集
@property (nonatomic, assign) BOOL filterPrivacyAppInfo;
@property (nonatomic, weak) id<DMKBaseServiceDelegate> delegate;

+ (instancetype)sharedService;

@end

NS_ASSUME_NONNULL_END

