FeatureToggleController

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object FeatureToggleController : FeatureToggle

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

Functions

Link copied to clipboard
fun clear()

Disables all features.

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

Disables the development RuntimeFeature.

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

Enables the development 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.