Package growthbook.sdk.java.callback
Interface FeatureRefreshCallback
Deprecated.
Legacy callback invoked after feature refresh attempts.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.
-
Method Details
-
onRefresh
Deprecated.Invoked when features refresh successfully.- Parameters:
featuresJson- Features as JSON string
-
onError
Deprecated.Invoked when features fail to refresh.- Parameters:
throwable- Exception on refreshCallback
-
FeatureRefreshListenerwithGrowthBookClient.addFeatureRefreshListener(FeatureRefreshListener),GrowthBookClient.subscribeFeatureRefreshListener(FeatureRefreshListener), orGBFeaturesRepository.addFeatureRefreshListener(FeatureRefreshListener).