Class EvaluationSeriesContext
java.lang.Object
com.launchdarkly.sdk.android.integrations.EvaluationSeriesContext
Represents parameters associated with a feature flag evaluation. An instance of this class is provided to some
stages of series of a
Hook
implementation. For example, see Hook.beforeEvaluation(EvaluationSeriesContext, Map)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEvaluationSeriesContext
(String method, String key, LDContext context, LDValue defaultValue) -
Method Summary
-
Field Details
-
method
The variation method that was used to invoke the evaluation. The stability of this string is not guaranteed and should not be used in conditional logic. -
flagKey
The key of the feature flag being evaluated. -
context
The context the evaluation was for. -
defaultValue
The user-provided default value for the evaluation.
-
-
Constructor Details
-
EvaluationSeriesContext
- Parameters:
method
- the variation method that was used to invoke the evaluation.key
- the key of the feature flag being evaluated.context
- the context the evaluation was for.defaultValue
- the user-provided default value for the evaluation.
-
-
Method Details