ORKPSATSample Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying NSSecureCoding |
Declared in | ORKPSATResult.h |
The ORKPSATSample
class represents a numeric answer to an addition question.
If the answer is correct, the sample object records the presented digit and the numeric answer.
A PSAT sample is included in an ORKPSATResult
object and is recorded
by the step view controller for the corresponding task.
A PSAT 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.
correct
A Boolean value indicating whether the addition answer was the correct one.
@property (nonatomic, assign, getter=isCorrect) BOOL correct
Discussion
The value of this property is YES
when the addition result is the correct
one, and NO
otherwise.
Declared In
ORKPSATResult.h
digit
The presented digit.
@property (nonatomic, assign) NSInteger digit
Declared In
ORKPSATResult.h
answer
The numeric answer;
-1
if no answer is provided.
@property (nonatomic, assign) NSInteger answer
Declared In
ORKPSATResult.h