public class RakamPlugin extends Object
| Constructor and Description |
|---|
RakamPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUserProperty(String property,
double value) |
static void |
addUserProperty(String property,
float value) |
static void |
addUserProperty(String property,
int value) |
static void |
addUserProperty(String property,
long value) |
static void |
addUserProperty(String property,
String value) |
static void |
addUserPropertyDict(String property,
String values) |
static void |
clearUserProperties() |
static void |
enableForegroundTracking(android.app.Application app) |
static String |
getDeviceId() |
static void |
init(android.content.Context context,
String apiKey) |
static void |
init(android.content.Context context,
String apiKey,
String userId) |
static void |
logEvent(String event) |
static void |
logEvent(String event,
String jsonProperties) |
static void |
logEvent(String event,
String jsonProperties,
boolean outOfSession) |
static void |
logRevenue(Revenue revenue) |
static void |
setOnceUserProperty(String property,
boolean value) |
static void |
setOnceUserProperty(String property,
boolean[] values) |
static void |
setOnceUserProperty(String property,
double value) |
static void |
setOnceUserProperty(String property,
double[] values) |
static void |
setOnceUserProperty(String property,
float value) |
static void |
setOnceUserProperty(String property,
float[] values) |
static void |
setOnceUserProperty(String property,
int value) |
static void |
setOnceUserProperty(String property,
int[] values) |
static void |
setOnceUserProperty(String property,
long value) |
static void |
setOnceUserProperty(String property,
long[] values) |
static void |
setOnceUserProperty(String property,
String value) |
static void |
setOnceUserProperty(String property,
String[] values) |
static void |
setOnceUserPropertyDict(String property,
String values) |
static void |
setOnceUserPropertyList(String property,
String values) |
static void |
setOptOut(boolean enabled) |
static void |
setUserId(String userId) |
static void |
setUserProperties(String jsonProperties) |
static void |
setUserProperty(String property,
boolean value) |
static void |
setUserProperty(String property,
boolean[] values) |
static void |
setUserProperty(String property,
double value) |
static void |
setUserProperty(String property,
double[] values) |
static void |
setUserProperty(String property,
float value) |
static void |
setUserProperty(String property,
float[] values) |
static void |
setUserProperty(String property,
int value) |
static void |
setUserProperty(String property,
int[] values) |
static void |
setUserProperty(String property,
long value) |
static void |
setUserProperty(String property,
long[] values) |
static void |
setUserProperty(String property,
String value) |
static void |
setUserProperty(String property,
String[] values) |
static void |
setUserPropertyDict(String property,
String values) |
static void |
setUserPropertyList(String property,
String values) |
static org.json.JSONObject |
ToJSONObject(String jsonString) |
static void |
trackSessionEvents(boolean enabled) |
static void |
unsetUserProperty(String property) |
public static org.json.JSONObject ToJSONObject(String jsonString)
public static void init(android.content.Context context,
String apiKey)
public static void enableForegroundTracking(android.app.Application app)
public static void logEvent(String event)
public static void setUserId(String userId)
public static void setOptOut(boolean enabled)
public static void setUserProperties(String jsonProperties)
public static void logRevenue(Revenue revenue)
public static String getDeviceId()
public static void trackSessionEvents(boolean enabled)
public static void clearUserProperties()
public static void unsetUserProperty(String property)
public static void setOnceUserProperty(String property, boolean value)
public static void setOnceUserProperty(String property, double value)
public static void setOnceUserProperty(String property, float value)
public static void setOnceUserProperty(String property, int value)
public static void setOnceUserProperty(String property, long value)
public static void setOnceUserProperty(String property, boolean[] values)
public static void setOnceUserProperty(String property, double[] values)
public static void setOnceUserProperty(String property, float[] values)
public static void setOnceUserProperty(String property, int[] values)
public static void setOnceUserProperty(String property, long[] values)
public static void setUserProperty(String property, boolean value)
public static void setUserProperty(String property, double value)
public static void setUserProperty(String property, float value)
public static void setUserProperty(String property, int value)
public static void setUserProperty(String property, long value)
public static void setUserProperty(String property, boolean[] values)
public static void setUserProperty(String property, double[] values)
public static void setUserProperty(String property, float[] values)
public static void setUserProperty(String property, int[] values)
public static void setUserProperty(String property, long[] values)
public static void addUserProperty(String property, double value)
public static void addUserProperty(String property, float value)
public static void addUserProperty(String property, int value)
public static void addUserProperty(String property, long value)
Copyright © 2016. All rights reserved.