RPStroopEffectActivity
Stroop Effect Test.
- Inheritance
-
- Object
- Serializable
- RPStep
- RPActivityStep
- RPStroopEffectActivity
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
RPStroopEffectActivity.fromJson
RPStroopEffectActivity
Contructor for creating a Stroop effect Test.
Properties
delayTime
getter/setter pair
Amount of time between words in ms. Default is 750 ms.
displayTime
getter/setter pair
Amount of time each word is displayed in milliseconds. Default is 1000 ms.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
lengthOfTest
getter/setter pair
Test duration in seconds. Default is 40 seconds.
Methods
stepBody
- dynamic onResultChange(
- dynamic
- RPActivityEventLogger eventLogger
override
Initiates the UI component for an ActivityStep.
All classes extending an activity step should override this with their own UI components.
toJson
Return a JSON encoding of this object.