RPNavigableOrderedTask class
The RPNavigableOrderedTask class adds conditional step navigation to the behavior inherited from the RPOrderedTask class.
It's able to show different questions based on previous answers by using RPPredicateStepNavigationRules. This task allows participant to go back to/looping through previous questions. In that case only the last answer given to the question will be saved.
- Inheritance
- Object
- RPTask
- RPOrderedTask
- RPNavigableOrderedTask
Constructors
Properties
- shouldReportProgress ↔ bool
-
read / write
-
A dictionary of step identifier Strings and their corresponding navigation rule(RPStepNavigationRule).
read-only
- closeAfterFinished ↔ bool
-
If set to
true
the Task will close after the participant has finished the task. If it's set tofalse
no navigation function is called. [...]read / write, inherited - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- identifier → String
-
A unique identifier of the Task. This identifier connects the Task to its result (RPTaskResult) object.
read-only, inherited
- isConsentTask → bool
-
Returns
true
if the task is a Consent Task. It is considered a Consent Task if it has an RPConsentReviewStepread-only, inherited - numberOfQuestionSteps → int
-
The number of question steps in the task
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
steps
→ List<
RPStep> -
The list of RPSteps of the task
read-only, inherited
Methods
-
getStepAfterStep(
RPStep step, RPTaskResult result) → RPStep -
Returns the step after a specified step if there's any taking the RPStepNavigationRules into consideration. [...]
override
- Returns the navigation rule for the given step identifier
- Removes the navigation rule from the given step using its identifier
- Adds a navigation rule to step using its identifier. [...]
-
getStepBeforeStep(
RPStep step, RPTaskResult result) → RPStep -
Returns the step that precedes the specified step, if there is one. If the specified step is
null
then it returns the last step. [...]inherited -
getStepWithIdentifier(
String identifier) → RPStep -
Returns the step that matches the specified
identifier
. Returnsnull
if there is no step with theidentifier
.inherited -
getTitleForStep(
RPStep step) → String -
Returns the title of a given
step
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited