Package com.mixpanel.android.mpmetrics
Interface SuperPropertyUpdate
-
public interface SuperPropertyUpdate
Use SuperPropertyUpdate objects to make changes to super properties in place, in a thread-safe way. SeeMixpanelAPI.updateSuperProperties(SuperPropertyUpdate)
for details.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.json.JSONObject
update(org.json.JSONObject oldValues)
update should take a JSONObject and return a JSON object.
-
-
-
Method Detail
-
update
org.json.JSONObject update(org.json.JSONObject oldValues)
update should take a JSONObject and return a JSON object. The returned object will replace the given object as all of the super properties stored for the current user. update should not return null.- Parameters:
oldValues
- the existing super properties- Returns:
- a new set of super properties that will be sent with every event.
-
-