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
945 B

2 years ago
//
// AlicloudTracker.h
// AlicloudUtils
//
// Created by junmo on 2017/6/30.
// Copyright © 2017年 Ali. All rights reserved.
//
#ifndef AlicloudTracker_h
#define AlicloudTracker_h
@interface AlicloudTracker : NSObject
@property (nonatomic, copy) NSString *sdkId;
@property (nonatomic, copy) NSString *sdkVersion;
/**
Tracker的通用打点属性
@param key Key
@param value Value
*/
- (void)setGlobalProperty:(NSString *)key value:(NSString *)value;
/**
Tracker通用打点属性
@param key Key
*/
- (void)removeGlobalProperty:(NSString *)key;
/**
@param eventName
@param duration
@param properties
*/
- (void)sendCustomHit:(NSString *)eventName
duration:(long long)duration
properties:(NSDictionary *)properties;
@end
#endif /* AlicloudTracker_h */