You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

45 lines
1.3 KiB

//
// EMASBeaconService.h
// AlicloudBeacon
//
// Created by junmo on 2017/7/6.
// Copyright © 2017年 junmo. All rights reserved.
//
#ifndef EMASBeaconService_h
#define EMASBeaconService_h
@interface EMASBeaconConfiguration : NSObject
- (instancetype)initWithData:(NSData *)data;
- (id)getConfigureItemByKey:(NSString *)key;
@end
typedef void (^AlicloudBeaconCallbackHandler)(BOOL res, NSError *error);
@interface EMASBeaconService : NSObject
- (instancetype)initWithAppKey:(NSString *)appKey
appSecret:(NSString *)appSecret
SDKVersion:(NSString *)SDKVersion
SDKID:(NSString *)SDKID;
- (instancetype)initWithAppKey:(NSString *)appKey
appSecret:(NSString *)appSecret
SDKVersion:(NSString *)SDKVersion
SDKID:(NSString *)SDKID
extension:(NSDictionary *)extension;
- (void)enableLog:(BOOL)enabled;
- (BOOL)isLogEnabled;
//- (void)getBeaconConfigByKey:(NSString *)key
// completionHandler:(void(^)(EMASBeaconConfiguration *configuration, NSError *error))completionHandler;
- (void)getBeaconConfigStringByKey:(NSString *)key
completionHandler:(void(^)(NSString *result, NSError *error))completionHandler;
@end
#endif /* EMASBeaconService_h */