public protocol RSDNavigationRule
Define the navigation rule as a protocol to allow for protocol-oriented extension (multiple
inheritance). Currently defined usage is to allow the
RSDConditionalStepNavigator to check if a
step has a navigation rule and apply as necessary.
Identifier for the next step to navigate to based on the current task result and the conditional rule associated with this task.
func nextStepIdentifier(with result: RSDTaskResult?, isPeeking: Bool) -> String?
The current task result.
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
The identifier of the next step.