ORKStroopResult Class Reference

Inherits from ORKResult : NSObject
Declared in ORKResult.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

ORKResult.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

ORKResult.h

  color

The color property is the color of the question string.

@property (nonatomic, copy) NSString *color

Declared In

ORKResult.h

  text

The text property is the text of the question string.

@property (nonatomic, copy) NSString *text

Declared In

ORKResult.h

  colorSelected

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

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

Declared In

ORKResult.h