Package growthbook.sdk.java
Interface TrackingCallback
public interface TrackingCallback
This callback is called with the
Experiment
and ExperimentResult
when an experiment is evaluated.-
Method Summary
Modifier and TypeMethodDescription<ValueType>
voidonTrack
(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult) This callback is called with theExperiment
andExperimentResult
when an experiment is evaluated.
-
Method Details
-
onTrack
<ValueType> void onTrack(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult) This callback is called with theExperiment
andExperimentResult
when an experiment is evaluated.- Type Parameters:
ValueType
- the value type for the experiment- Parameters:
experiment
- theExperiment
experimentResult
- theExperimentResult
-