FeatureToggleController
public protocol FeatureToggleController
FeatureToggleController controls the experimental behavior of the SDK.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Enables the experimental
RuntimeFeature.Declaration
Swift
func enable(feature: RuntimeFeatureType)Parameters
featureThe runtime feature to enable.
-
Disables the experimental
RuntimeFeature.Declaration
Swift
func disable(feature: RuntimeFeatureType)Parameters
featureThe runtime feature to enable.
-
Determines whether the given
RuntimeFeatureis enabled.Declaration
Swift
func isEnabled(feature: RuntimeFeatureType) -> BoolParameters
featureThe runtime feature to check.
Return Value
true if the feature is enabled, false otherwise.
TomTom SDK for iOS (0.53.1)
FeatureToggleController