FeatureToggleControllerProtocol

public protocol FeatureToggleControllerProtocol

FeatureToggleControllerProtocol 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

    feature

    The 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

    feature

    The runtime feature to enable.

  • Determines whether the given RuntimeFeature is 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) -> Bool

    Parameters

    feature

    The runtime feature to check.

    Return Value

    true if the feature is enabled, false otherwise.