Ta android + ios

This commit is contained in:
LYP
2024-08-07 20:22:28 +08:00
parent 69fee08c61
commit 76458664d8
722 changed files with 41709 additions and 1 deletions

View File

@@ -0,0 +1,45 @@
//
// TAEventTracker.h
// ThinkingSDK
//
// Created by Yangxiongon 2022/6/19.
//
#import <Foundation/Foundation.h>
#if __has_include(<ThinkingSDK/TDConstant.h>)
#import <ThinkingSDK/TDConstant.h>
#else
#import "TDConstant.h"
#endif
#import "TDSecurityPolicy.h"
#import "ThinkingAnalyticsSDKPrivate.h"
NS_ASSUME_NONNULL_BEGIN
@class TAEventTracker;
@interface TAEventTracker : NSObject
+ (dispatch_queue_t)td_networkQueue;
- (instancetype)initWithQueue:(dispatch_queue_t)queue instanceToken:(NSString *)instanceToken;
- (void)flush;
- (void)track:(NSDictionary *)event immediately:(BOOL)immediately saveOnly:(BOOL)isSaveOnly;
- (NSInteger)saveEventsData:(NSDictionary *)data;
- (void)_asyncWithCompletion:(void(^)(void))completion;
- (void)syncSendAllData;
#pragma mark - UNAVAILABLE
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END