SDK_UnityMoney/Assets/Plugins/iOS/ThinkingSDK/Source/EventTracker/Property/TDAutoTrackSuperProperty.h

35 lines
1.0 KiB
C
Raw Normal View History

2025-08-30 09:38:53 +00:00
//
// 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