FeatureFlagManager

Airship Feature Flags manager.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Flag result cache that can be used by flag to return a previous result if the flag is not found or fails to resolve.

Link copied to clipboard

Gets the current data status

Link copied to clipboard

Gets the status updates

Inherited properties

Link copied to clipboard
protected val defaultExecutor: Executor

Functions

Link copied to clipboard
suspend fun flag(name: String, useResultCache: Boolean = true): 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPerformJob(@NonNull airship: UAirship, @NonNull jobInfo: JobInfo): JobResult
Link copied to clipboard
protected open fun tearDown()