ORKStroopResult Class Reference

Inherits from ORKResult : NSObject
Declared in ORKStroopResult.h

The ORKStroopResult class represents the result of a single successful attempt within an ORKStroopStep.

A stroop result is typically generated by the framework as the task proceeds. When the task completes, it may be appropriate to serialize the sample for transmission to a server or to immediately perform analysis on it.

  startTime

The startTime property is equal to the start time of the each step.

@property (nonatomic, assign) NSTimeInterval startTime

Declared In

ORKStroopResult.h

  endTime

The endTime property is equal to the timestamp when user answers a particular step by selecting a color.

@property (nonatomic, assign) NSTimeInterval endTime

Declared In

ORKStroopResult.h

  color

The color property is the color of the question string.

@property (nonatomic, copy) NSString *color

Declared In

ORKStroopResult.h

  text

The text property is the text of the question string.

@property (nonatomic, copy) NSString *text

Declared In

ORKStroopResult.h

  colorSelected

The colorSelected corresponds to the button tapped by the user as an answer.

@property (nonatomic, copy, nullable) NSString *colorSelected

Declared In

ORKStroopResult.h