ORKHolePegTestSample Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in ORKHolePegTestResult.h

The ORKHolePegTestSample class represents a peg move.

The sample object records the duration, and the move distance. An hole peg test is included in an ORKHolePegTestResult object, and is recorded by the step view controller for the corresponding task.

An hole peg test sample 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.


The time interval for the peg move.

@property (nonatomic, assign) NSTimeInterval time

Declared In



The peg move distance.

@property (nonatomic, assign) double distance

Declared In