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.
@FunctionalInterface public interface FeatureFlagChangeListenerCallback interface used for listening to changes to a feature flag.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFeatureFlagChange(java.lang.String flagKey)The SDK calls this method when a feature flag value has changed for the current evaluation context.
-
-
-
Method Detail
-
onFeatureFlagChange
void onFeatureFlagChange(java.lang.String flagKey)
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
-
-