-
public interface IFeatureManagerResolves backend-driven FeatureFlag state for the current device run. Catalog and latching live in shared SharedFeatureManager; this host hydrates from ConfigModel and applies com.onesignal.features.FeatureActivationMode rules via SharedFeatureManager.refresh.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanisEnabled(FeatureFlag feature)Whether feature is enabled for the current run, after remote config and com.onesignal.features.FeatureActivationMode latching. abstract List<String>enabledFeatureKeys()Canonical keys enabled for this process after latching. abstract Map<String, String>remoteFeatureFlagMetadata()Per-flag payloads persisted on ConfigModel.sdkRemoteFeatureFlagMetadata. -
-
Method Detail
-
isEnabled
abstract Boolean isEnabled(FeatureFlag feature)
Whether feature is enabled for the current run, after remote config and com.onesignal.features.FeatureActivationMode latching.
-
enabledFeatureKeys
abstract List<String> enabledFeatureKeys()
Canonical keys enabled for this process after latching. Order follows FeatureFlag declaration order.
-
remoteFeatureFlagMetadata
abstract Map<String, String> remoteFeatureFlagMetadata()
Per-flag payloads persisted on ConfigModel.sdkRemoteFeatureFlagMetadata. Values are JSON object text (flag id → object).
nullwhen nothing has been stored yet.
-
-
-
-