ORKSpatialSpanMemoryGameTouchSample Class Reference
ORKSpatialSpanMemoryGameTouchSample class represents a tap during the
spatial span memory game.
A spatial span memory game touch sample is typically generated by the framework as the task proceeds. When the task completes, it may be appropriate to serialize it for transmission to a server, or to immediately perform analysis on it.
A timestamp (in seconds) from the beginning of the game.
@property (nonatomic, assign) NSTimeInterval timestamp
The index of the target that was tapped.
@property (nonatomic, assign) NSInteger targetIndex
Usually, this index is a value that ranges between 0 and the number of targets, indicating which target was tapped.
If the touch was outside all of the targets, the value of this property is -1.
A point that records the touch location in the step’s view.
@property (nonatomic, assign) CGPoint location
A Boolean value indicating whether the tapped target was the correct one.
@property (nonatomic, assign, getter=isCorrect) BOOL correct
The value of this property is
YES when the tapped target is the correct