Class TrackingCallbackAdapter
java.lang.Object
growthbook.sdk.java.multiusermode.usage.TrackingCallbackAdapter
- All Implemented Interfaces:
TrackingCallbackWithUser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ValueType>
voidonTrack
(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult, UserContext userContext) This callback is called with theExperiment
andExperimentResult
when an experiment is evaluated.
-
Constructor Details
-
TrackingCallbackAdapter
-
-
Method Details
-
onTrack
public <ValueType> void onTrack(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult, UserContext userContext) Description copied from interface:TrackingCallbackWithUser
This callback is called with theExperiment
andExperimentResult
when an experiment is evaluated.- Specified by:
onTrack
in interfaceTrackingCallbackWithUser
- Type Parameters:
ValueType
- the value type for the experiment- Parameters:
experiment
- theExperiment
experimentResult
- theExperimentResult
userContext
- theUserContext
-