public class

OptimizelyLocalyticsIntegration

extends Object
java.lang.Object
   ↳ com.optimizely.integrations.localytics.OptimizelyLocalyticsIntegration

Summary

Constants
String EVENT_ATTR_EXP_NAME
String EVENT_ATTR_EXP_NAME_AND_VAR_NAME
String EVENT_ATTR_EXP_VAR_NAME
String EVENT_NAME
String LOCALYTICS_COMPONENT
String PLUGIN_ID
String PROFILE_ATTR_NAME
Public Constructors
OptimizelyLocalyticsIntegration()
Public Methods
String evaluateCodeBlock(String blockKey)
boolean evaluateDimensions(String dimensionName, JSONObject condition)
<T> Object evaluateLiveVariable(Class<T> type, String key, T defaultValue)
Application.ActivityLifecycleCallbacks getActivityLifecycleCallbacks()
List<String> getCodeBlocks()
List<String> getDependencies()
List<String> getDimensionNames()
List<String> getLiveVariables()
View.OnTouchListener getOnTouchListener()
OptimizelyEventListener getOptimizelyEventsListener()
String getPluginId()
List<String> getRequiredPermissions(Context context)
List<OptimizelyView> getVisualChangesForActivity(Activity activity, String name)
boolean start(Optimizely optimizely, JSONObject config)
void stop()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String EVENT_ATTR_EXP_NAME

Constant Value: "Name"

public static final String EVENT_ATTR_EXP_NAME_AND_VAR_NAME

Constant Value: "Name + Variation"

public static final String EVENT_ATTR_EXP_VAR_NAME

Constant Value: "Variation Name"

public static final String EVENT_NAME

Constant Value: "Optimizely Experiment Visited"

public static final String LOCALYTICS_COMPONENT

Constant Value: "Optimizely Localytics Integration"

public static final String PLUGIN_ID

Constant Value: "localytics_mobile"

public static final String PROFILE_ATTR_NAME

Constant Value: "Optimizely Experiments Visited"

Public Constructors

public OptimizelyLocalyticsIntegration ()

Public Methods

public String evaluateCodeBlock (String blockKey)

public boolean evaluateDimensions (String dimensionName, JSONObject condition)

public Object evaluateLiveVariable (Class<T> type, String key, T defaultValue)

public Application.ActivityLifecycleCallbacks getActivityLifecycleCallbacks ()

public List<String> getCodeBlocks ()

public List<String> getDependencies ()

public List<String> getDimensionNames ()

public List<String> getLiveVariables ()

public View.OnTouchListener getOnTouchListener ()

public OptimizelyEventListener getOptimizelyEventsListener ()

public String getPluginId ()

public List<String> getRequiredPermissions (Context context)

public List<OptimizelyView> getVisualChangesForActivity (Activity activity, String name)

public boolean start (Optimizely optimizely, JSONObject config)

public void stop ()