RSDSurveyRule

public protocol RSDSurveyRule

RSDSurveyRule defines an evaluation rule and returns a step identifier if appropriate.

  • For a given result (if any), what is the step that the survey should go to next?

    Declaration

    Swift

    func evaluateRule(with result: RSDResult?) -> String?

    Parameters

    results

    The result to evaluate.

    Return Value

    The identifier to skip to if the result evaluates to true.