FeatureToggleController
public protocol FeatureToggleController
FeatureToggleController controls the experimental behavior of the SDK.
Warning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.-
Enables the experimental
RuntimeFeature.Warning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.Declaration
Swift
func enable(feature: RuntimeFeatureType)Parameters
featureThe runtime feature to enable.
-
Disables the experimental
RuntimeFeature.Warning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.Declaration
Swift
func disable(feature: RuntimeFeatureType)Parameters
featureThe runtime feature to enable.
-
Determines whether the given
RuntimeFeatureis enabled.Warning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.Declaration
Swift
func isEnabled(feature: RuntimeFeatureType) -> BoolParameters
featureThe runtime feature to check.
Return Value
true if the feature is enabled, false otherwise.
FeatureToggleController Protocol Reference