35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
| //
 | |
| //  TDAutoTrackSuperProperty.h
 | |
| //  ThinkingSDK
 | |
| //
 | |
| //  Created by Yangxiongon 2022/6/19.
 | |
| //
 | |
| 
 | |
| #import <Foundation/Foundation.h>
 | |
| #import "TDAutoTrackConst.h"
 | |
| 
 | |
| NS_ASSUME_NONNULL_BEGIN
 | |
| 
 | |
| @interface TDAutoTrackSuperProperty : NSObject
 | |
| 
 | |
| - (void)registerSuperProperties:(NSDictionary *)properties withType:(TDAutoTrackEventType)type;
 | |
| 
 | |
| - (NSDictionary *)currentSuperPropertiesWithEventName:(NSString *)eventName;
 | |
| 
 | |
| - (void)registerDynamicSuperProperties:(NSDictionary<NSString *, id> *(^)(TDAutoTrackEventType, NSDictionary *))dynamicSuperProperties;
 | |
| 
 | |
| - (NSDictionary *)obtainDynamicSuperPropertiesWithType:(TDAutoTrackEventType)type currentProperties:(NSDictionary *)properties;
 | |
| 
 | |
| /// Only used for auto track in Unity3D environment
 | |
| /// - Parameter dynamicSuperProperties: dynamic properties
 | |
| - (void)registerAutoTrackDynamicProperties:(NSDictionary<NSString *, id> *(^ _Nullable)(void))dynamicSuperProperties;
 | |
| 
 | |
| /// Only used for auto track in Unity3D environment
 | |
| - (NSDictionary *)obtainAutoTrackDynamicSuperProperties;
 | |
| 
 | |
| - (void)clearSuperProperties;
 | |
| 
 | |
| @end
 | |
| 
 | |
| NS_ASSUME_NONNULL_END
 |