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

    feature

    The runtime feature to enable.

  • Disables the experimental RuntimeFeature.

    Declaration

    Swift

    func disable(feature: RuntimeFeatureType)

    Parameters

    feature

    The runtime feature to enable.

  • Determines whether the given RuntimeFeature is enabled.

    Declaration

    Swift

    func isEnabled(feature: RuntimeFeatureType) -> Bool

    Parameters

    feature

    The runtime feature to check.

    Return Value

    true if the feature is enabled, false otherwise.