ORKSpatialSpanMemoryResult Class Reference

Inherits from ORKResult : NSObject
Declared in ORKSpatialSpanMemoryResult.h

The ORKSpatialSpanMemoryResult class represents the result of a spatial span memory step (ORKSpatialSpanMemoryStep).

A spatial span memory result records the score displayed to the user, the number of games, the objects recording the actual game, and the user’s taps in response to the game.

A spatial span memory result 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.

  score

The score in the game.

@property (nonatomic, assign) NSInteger score

Discussion

The score is an integer value that monotonically increases during the game, across multiple rounds.

Declared In

ORKSpatialSpanMemoryResult.h

  numberOfGames

The number of games.

@property (nonatomic, assign) NSInteger numberOfGames

Discussion

The number of rounds that the user participated in, including successful, failed, and timed out rounds.

Declared In

ORKSpatialSpanMemoryResult.h

  numberOfFailures

The number of failures.

@property (nonatomic, assign) NSInteger numberOfFailures

Discussion

The number of rounds in which the user participated, but did not correctly complete the sequence.

Declared In

ORKSpatialSpanMemoryResult.h

  gameRecords

An array that contains the results of the games played.

@property (nonatomic, copy, nullable) NSArray<ORKSpatialSpanMemoryGameRecord*> *gameRecords

Discussion

Each item in the array is an ORKSpatialSpanMemoryGameRecord object.

Declared In

ORKSpatialSpanMemoryResult.h