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. See
MixpanelAPI.updateSuperProperties(SuperPropertyUpdate)
for details.-
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObject
update
(org.json.JSONObject oldValues) update should take a JSONObject and return a JSON object.
-
Method Details
-
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.
-