A C D E G I M P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addMessage(JSONObject) - Method in class com.mixpanel.mixpanelapi.ClientDelivery
-
Adds an individual message to this delivery.
- append(String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to append that value to a list associated with the key in the identified profile.
- append(String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to append that value to a list associated with the key in the identified profile.
C
- ClientDelivery - Class in com.mixpanel.mixpanelapi
-
A ClientDelivery can be used to send multiple messages to Mixpanel.
- ClientDelivery() - Constructor for class com.mixpanel.mixpanelapi.ClientDelivery
- com.mixpanel.mixpanelapi - package com.mixpanel.mixpanelapi
D
- delete(String) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Deletes the profile associated with the given distinctId.
- delete(String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Deletes the profile associated with the given distinctId.
- deliver(ClientDelivery) - Method in class com.mixpanel.mixpanelapi.MixpanelAPI
-
Sends a ClientDelivery full of messages to Mixpanel's servers.
- deliver(ClientDelivery, boolean) - Method in class com.mixpanel.mixpanelapi.MixpanelAPI
-
Attempts to send a given delivery to the Mixpanel servers.
E
- encodeDataString(String) - Method in class com.mixpanel.mixpanelapi.MixpanelAPI
-
apply Base64 encoding followed by URL encoding
- event(String, String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Creates a message tracking an event, for consumption by MixpanelAPI See: https://help.mixpanel.com/hc/en-us/articles/360000857366-Guide-to-Mixpanel-Basics for a detailed discussion of event names, distinct ids, event properties, and how to use them to get the most out of your metrics.
G
- getBadDeliveryContents() - Method in exception com.mixpanel.mixpanelapi.MixpanelServerException
- getBadMessage() - Method in exception com.mixpanel.mixpanelapi.MixpanelMessageException
- groupDelete(String, String) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Deletes the group profile identified by the given groupKey and groupId.
- groupDelete(String, String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Deletes the group profile identified by the given groupKey and groupId.
- groupMessage(String, String, String, Object, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Formats a generic group profile message.
- groupRemove(String, String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to remove that value from a list associated with the key in the specified group profile.
- groupRemove(String, String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to remove that value from a list associated with the key in the specified group profile.
- groupSet(String, String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets properties on the group profile identified by the given groupKey and groupId, creating the profile if needed.
- groupSet(String, String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets properties on the group profile identified by the given groupKey and groupId, creating the profile if needed.
- groupSetOnce(String, String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets properties if they do not already exist on the group profile identified by the given groupKey and groupId.
- groupSetOnce(String, String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets properties if they do not already exist on the group profile identified by the given groupKey and groupId.
- groupUnion(String, String, Map<String, JSONArray>) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Merges list-valued properties into a group profile.
- groupUnion(String, String, Map<String, JSONArray>, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Merges list-valued properties into a group profile.
- groupUnset(String, String, Collection<String>) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Removes the properties named in propertyNames from the group profile identified by groupKey and groupId.
- groupUnset(String, String, Collection<String>, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Removes the properties named in propertyNames from the group profile identified by groupKey and groupId.
I
- increment(String, Map<String, Long>) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, adds that amount to the associated property in the profile with the given distinct id.
- increment(String, Map<String, Long>, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, adds that amount to the associated property in the profile with the given distinct id.
- isValidMessage(JSONObject) - Method in class com.mixpanel.mixpanelapi.ClientDelivery
-
Returns true if the given JSONObject appears to be a valid Mixpanel message, created with #
MessageBuilder.
M
- MessageBuilder - Class in com.mixpanel.mixpanelapi
-
This class writes JSONObjects of a form appropriate to send as Mixpanel events and updates to profiles via the MixpanelAPI class.
- MessageBuilder(String) - Constructor for class com.mixpanel.mixpanelapi.MessageBuilder
- mEventsEndpoint - Variable in class com.mixpanel.mixpanelapi.MixpanelAPI
- mGroupsEndpoint - Variable in class com.mixpanel.mixpanelapi.MixpanelAPI
- MixpanelAPI - Class in com.mixpanel.mixpanelapi
-
Simple interface to the Mixpanel tracking API, intended for use in server-side applications.
- MixpanelAPI() - Constructor for class com.mixpanel.mixpanelapi.MixpanelAPI
-
Constructs a MixpanelAPI object associated with the production, Mixpanel services.
- MixpanelAPI(String, String) - Constructor for class com.mixpanel.mixpanelapi.MixpanelAPI
-
Create a MixpaneAPI associated with custom URLS for events and people updates.
- MixpanelAPI(String, String, String) - Constructor for class com.mixpanel.mixpanelapi.MixpanelAPI
-
Create a MixpaneAPI associated with custom URLS for the Mixpanel service.
- MixpanelMessageException - Exception in com.mixpanel.mixpanelapi
-
Thrown when the library detects malformed or invalid Mixpanel messages.
- MixpanelServerException - Exception in com.mixpanel.mixpanelapi
-
Thrown when the Mixpanel server refuses to accept a set of messages.
- MixpanelServerException(String, List<JSONObject>) - Constructor for exception com.mixpanel.mixpanelapi.MixpanelServerException
- mPeopleEndpoint - Variable in class com.mixpanel.mixpanelapi.MixpanelAPI
P
- peopleMessage(String, String, Object, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Formats a generic user profile message.
R
- remove(String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to remove that value from a list associated with the key in the specified user profile.
- remove(String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
For each key and value in the properties argument, attempts to remove that value from a list associated with the key in the specified user profile.
S
- sendMessage(JSONObject) - Method in class com.mixpanel.mixpanelapi.MixpanelAPI
-
Sends a single message to Mixpanel servers.
- set(String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets a property on the profile associated with the given distinctId.
- set(String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets a property on the profile associated with the given distinctId.
- setOnce(String, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets a property on the profile associated with the given distinctId, only if that property is not already set on the associated profile.
- setOnce(String, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Sets a property on the profile associated with the given distinctId, only if that property is not already set on the associated profile.
T
- trackCharge(String, double, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Tracks revenue associated with the given distinctId.
- trackCharge(String, double, JSONObject, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Tracks revenue associated with the given distinctId.
U
- union(String, Map<String, JSONArray>) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Merges list-valued properties into a user profile.
- union(String, Map<String, JSONArray>, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Merges list-valued properties into a user profile.
- unset(String, Collection<String>) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Removes the properties named in propertyNames from the profile identified by distinctId.
- unset(String, Collection<String>, JSONObject) - Method in class com.mixpanel.mixpanelapi.MessageBuilder
-
Removes the properties named in propertyNames from the profile identified by distinctId.
All Classes All Packages