-
public class Experiment
-
-
Field Summary
Fields Modifier and Type Field Description public final static ExperimentINSTANCE
-
Method Summary
Modifier and Type Method Description final static ExperimentClientinitialize(Application application, String apiKey, ExperimentConfig config)Initializes a singleton ExperimentClient identified by the configured instance name. final static ExperimentClientinitializeWithAmplitudeAnalytics(Application application, String apiKey, ExperimentConfig config)Initialize a singleton ExperimentClient which automatically integrates with the installed and initialized instance of the amplitude analytics SDK. -
-
Method Detail
-
initialize
final static ExperimentClient initialize(Application application, String apiKey, ExperimentConfig config)
Initializes a singleton ExperimentClient identified by the configured instance name.
- Parameters:
application- The Android Application contextapiKey- The API key.config- see ExperimentConfig for configuration options
-
initializeWithAmplitudeAnalytics
final static ExperimentClient initializeWithAmplitudeAnalytics(Application application, String apiKey, ExperimentConfig config)
Initialize a singleton ExperimentClient which automatically integrates with the installed and initialized instance of the amplitude analytics SDK.
You must be using Amplitude-Android SDK version 2.36.0+ or Amplitude-Kotlin 1.5.0+ for this integration to work.
- Parameters:
application- The Android Application contextapiKey- The API key.config- see ExperimentConfig for configuration options
-
-
-
-