Package 

Interface IFeatureManager

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isEnabled(FeatureFlag feature)
      abstract List<String> enabledFeatureKeys() The canonical keys of feature flags that are currently enabled for this device run, after applying remote config, FeatureActivationMode latching rules, and any local test overrides.
      abstract Map<String, JsonObject> remoteFeatureFlagMetadata() Per-flag payloads from com.onesignal.core.internal.backend.IFeatureFlagsBackendService.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • enabledFeatureKeys

         abstract List<String> enabledFeatureKeys()

        The canonical keys of feature flags that are currently enabled for this device run, after applying remote config, FeatureActivationMode latching rules, and any local test overrides. Order is not guaranteed.

        Empty when no flags have been resolved yet (e.g. before the first refresh on a fresh install) or when none are enabled.