FeatureFlagManager

Airship Feature Flags manager.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun flag(name: String): Result<FeatureFlag>

Gets and evaluates a feature flag. The PrivacyManager.Feature.FEATURE_FLAGS must be enabled or this method will return an error.

Link copied to clipboard

Gets and evaluates a feature flag and returns it as a PendingResult. The PrivacyManager.Feature.FEATURE_FLAGS must be enabled or this method will return null.

Link copied to clipboard

Tracks an interaction on a FeatureFlag. The PrivacyManager.Feature.FEATURE_FLAGS must be enabled or this method will no-op.

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPerformJob(@NonNull airship: UAirship, @NonNull jobInfo: JobInfo): JobResult