RSDCohortNavigationRuleObject

public struct RSDCohortNavigationRuleObject : RSDCohortNavigationRule, Codable

Concrete implementation of the RSDCohortNavigationRule.

  • The list of cohorts that are tested for this navigation rule.

    Declaration

    Swift

    public let requiredCohorts: Set<String>
  • What type of operator to apply.

    Declaration

    Swift

    public let cohortOperator: RSDCohortRuleOperator?
  • The identifier for the string to skip to.

    Declaration

    Swift

    public let skipToIdentifier: String?
  • Default initializer.

    Declaration

    Swift

    public init(requiredCohorts: Set<String>, cohortOperator: RSDCohortRuleOperator?, skipToIdentifier: String?)

    Parameters

    requiredCohorts

    The list of cohorts that are tested for this navigation rule.

    cohortOperator

    What type of operator to apply.

    skipToIdentifier

    The identifier for the string to skip to.