Package cn.thinkingdata.analytics.inter
Interface IThinkingDataAnalytics
-
@Deprecated public interface IThinkingDataAnalytics
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidclearSuperProperties()Deprecated.clear common propertiesvoidclose()Deprecated.close and exit sdkvoidflush()Deprecated.report data immediatelyvoidsetDynamicSuperPropertiesTracker(DynamicSuperPropertiesTracker dynamicSuperPropertiesTracker)Deprecated.set common properties dynamically.voidsetSuperProperties(Map<String,Object> properties)Deprecated.set common properties.voidtrack(String accountId, String distinctId, String eventName, Map<String,Object> properties)Deprecated.report eventvoidtrack_first(String accountId, String distinctId, String eventName, Map<String,Object> properties)Deprecated.first eventvoidtrack_overwrite(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties)Deprecated.voidtrack_update(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties)Deprecated.voiduser_add(String accountId, String distinctId, Map<String,Object> properties)Deprecated.to accumulate operations against the propertyvoiduser_append(String accountId, String distinctId, Map<String,Object> properties)Deprecated.to add user properties of array typevoiduser_del(String accountId, String distinctId)Deprecated.delete uservoiduser_set(String accountId, String distinctId, Map<String,Object> properties)Deprecated.set user properties.voiduser_setOnce(String accountId, String distinctId, Map<String,Object> properties)Deprecated.set user properties.voiduser_uniqAppend(String accountId, String distinctId, Map<String,Object> properties)Deprecated.append user properties to array type by unique.voiduser_unset(String accountId, String distinctId, String... properties)Deprecated.clear the user properties of users
-
-
-
Method Detail
-
track
void track(String accountId, String distinctId, String eventName, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.report event- Parameters:
accountId- account IDdistinctId- distinct IDeventName- nameproperties- properties- Throws:
InvalidArgumentException- data error
-
track_first
void track_first(String accountId, String distinctId, String eventName, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.first event- Parameters:
accountId- account IDdistinctId- distinct IDeventName- nameproperties- properties (must add "#first_check_id" in properties, because it is flag of the first event)- Throws:
InvalidArgumentException- data error
-
track_update
void track_update(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.- Parameters:
accountId- account IDdistinctId- distinct IDeventName- nameeventId- event IDproperties- properties- Throws:
InvalidArgumentException- data error
-
track_overwrite
void track_overwrite(String accountId, String distinctId, String eventName, String eventId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.- Parameters:
accountId- account IDdistinctId- distinct IDeventName- event nameeventId- event IDproperties- properties- Throws:
InvalidArgumentException- data error
-
clearSuperProperties
void clearSuperProperties()
Deprecated.clear common properties
-
setSuperProperties
void setSuperProperties(Map<String,Object> properties)
Deprecated.set common properties. it will add to event automatically- Parameters:
properties- common properties
-
setDynamicSuperPropertiesTracker
void setDynamicSuperPropertiesTracker(DynamicSuperPropertiesTracker dynamicSuperPropertiesTracker)
Deprecated.set common properties dynamically. not recommend to add the operation which with a lot of computation- Parameters:
dynamicSuperPropertiesTracker- properties
-
user_del
void user_del(String accountId, String distinctId) throws InvalidArgumentException
Deprecated.delete user- Parameters:
accountId- account IDdistinctId- distinct ID- Throws:
InvalidArgumentException- data error
-
user_add
void user_add(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.to accumulate operations against the property- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
user_setOnce
void user_setOnce(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.set user properties. If such property had been set before, this message would be neglected.- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
user_set
void user_set(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.set user properties. would overwrite existing names- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
user_unset
void user_unset(String accountId, String distinctId, String... properties) throws InvalidArgumentException
Deprecated.clear the user properties of users- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
user_append
void user_append(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.to add user properties of array type- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
user_uniqAppend
void user_uniqAppend(String accountId, String distinctId, Map<String,Object> properties) throws InvalidArgumentException
Deprecated.append user properties to array type by unique.- Parameters:
accountId- account IDdistinctId- distinct IDproperties- properties- Throws:
InvalidArgumentException- data error
-
flush
void flush()
Deprecated.report data immediately
-
close
void close()
Deprecated.close and exit sdk
-
-