Package com.launchdarkly.sdk.android
Interface FeatureFlagChangeListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface used for listening to changes to a feature flag.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFeatureFlagChange
(String flagKey) The SDK calls this method when a feature flag value has changed for the current evaluation context.
-
Method Details
-
onFeatureFlagChange
The SDK calls this method when a feature flag value has changed for the current evaluation context.To obtain the new value, call one of the client methods such as
LDClientInterface.boolVariation(String, boolean)
.- Parameters:
flagKey
- the feature flag key
-