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,80 @@
//
// TAAutoTrackProtocol.h
// ThinkingSDK
//
// Created by Yangxiongon 2022/7/1.
//
#ifndef TAAutoTrackProtocol_h
#define TAAutoTrackProtocol_h
#import <UIKit/UIKit.h>
@protocol TDUIViewAutoTrackDelegate
@optional
/**
UITableView event properties
@return event properties
*/
- (NSDictionary *)thinkingAnalytics_tableView:(UITableView *)tableView autoTrackPropertiesAtIndexPath:(NSIndexPath *)indexPath;
/**
APPID UITableView event properties
@return event properties
*/
- (NSDictionary *)thinkingAnalyticsWithAppid_tableView:(UITableView *)tableView autoTrackPropertiesAtIndexPath:(NSIndexPath *)indexPath;
@optional
/**
UICollectionView event properties
@return event properties
*/
- (NSDictionary *)thinkingAnalytics_collectionView:(UICollectionView *)collectionView autoTrackPropertiesAtIndexPath:(NSIndexPath *)indexPath;
/**
APPID UICollectionView event properties
@return event properties
*/
- (NSDictionary *)thinkingAnalyticsWithAppid_collectionView:(UICollectionView *)collectionView autoTrackPropertiesAtIndexPath:(NSIndexPath *)indexPath;
@end
@protocol TDAutoTracker
@optional
- (NSDictionary *)getTrackProperties;
- (NSDictionary *)getTrackPropertiesWithAppid;
@end
/**
Automatically track the page
*/
@protocol TDScreenAutoTracker <TDAutoTracker>
@optional
/**
Attributes for custom page view events
*/
- (NSString *)getScreenUrl;
/**
Configure the properties of the APPID custom page view event
*/
- (NSDictionary *)getScreenUrlWithAppid;
@end
#endif /* TAAutoTrackProtocol_h */