-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum FeatureFlag extends Enum<FeatureFlag>
Backend-driven feature switches used by the SDK.
key values are lowercase strings as returned from remote config / Turbine
featuresarrays.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringkeyprivate final FeatureActivationModeactivationModeprivate final Stringnameprivate final Integerordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description SDK_IDENTITY_VERIFICATIONJWT signing of SDK requests. IMMEDIATE so a kill-switch doesn't need a cold start.
-
Method Summary
Modifier and Type Method Description final BooleanisEnabledIn(Set<String> enabledKeys)Whether this flag's key is present in enabledKeys (the set of enabled feature keys resolved from remote config / local overrides). final StringgetKey()final FeatureActivationModegetActivationMode()final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
isEnabledIn
final Boolean isEnabledIn(Set<String> enabledKeys)
Whether this flag's key is present in enabledKeys (the set of enabled feature keys resolved from remote config / local overrides).
-
getActivationMode
final FeatureActivationMode getActivationMode()
-
getOrdinal
final Integer getOrdinal()
-
-
-
-