RSDSectionStepObject

struct RSDSectionStepObject : RSDSectionStep, RSDConditionalStepNavigator, RSDStepValidator, RSDCopyStep, Decodable

Extend RSDSectionStepObject to implement navigation rules for each hand. These sections are intended to be used when a study has results from the left and right side of the body, and needs to randomize which order tests are done in.

  • Returns true if this step should be skipped and false otherwise.

    Declaration

    Swift

    public func shouldSkipStep(with result: RSDTaskResult?, isPeeking: Bool) -> Bool
  • Returns the identifier of the step to go to after this step is completed, or skipped.

    Declaration

    Swift

    public func nextStepIdentifier(with result: RSDTaskResult?, isPeeking: Bool) -> String?