RSDNavigationSkipRule
public protocol RSDNavigationSkipRule
A navigation skip rule applies to this step to allow the step to be skipped.
-
Should this step be skipped based on the current task result and the conditional rule associated with this task?
Declaration
Swift
func shouldSkipStep(with result: RSDTaskResult?, isPeeking: Bool) -> Bool
Parameters
result
The current task result.
isPeeking
Is this navigation rule being called on a result for a step that is navigating forward or is it a step navigator that is peeking at the next step to set up UI display? If peeking at the next step then this parameter will be
true
.Return Value
true
if the step should be skipped, otherwiseno
.