FeatureToggleController

This class exposes control of experimental behavior of the SDK by turning on some experimental features. Production use of such features is not advised or supported and should be treated with caution.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
fun clear()

Disables all features.

Link copied to clipboard
open override fun disable(featureType: RuntimeFeature.Type)

Disables the experimental RuntimeFeature.

Link copied to clipboard
open override fun enable(featureType: RuntimeFeature.Type)

Enables the experimental RuntimeFeature.

Link copied to clipboard
fun initialize(context: Context)

This method is no longer used and will be removed in the future. It is kept for compatibility reasons.

Link copied to clipboard
open override fun isEnabled(featureType: RuntimeFeature.Type): Boolean

Determines whether the given RuntimeFeature is enabled.