ORKNumericQuestionResult Class Reference
Inherits from | ORKQuestionResult : ORKResult : NSObject |
---|---|
Declared in | ORKQuestionResult.h |
The ORKNumericQuestionResult
class represents a question or form item that uses an answer format that produces a numeric answer.
Examples of this type of answer format include ORKScaleAnswerFormat
and ORKNumericAnswerFormat
.
A numeric question 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.
numericAnswer
The number collected, or nil
if the user skipped the question.
@property (nonatomic, copy, nullable) NSNumber *numericAnswer
Declared In
ORKQuestionResult.h
unit
The unit string displayed to the user when the value was entered, or nil
if no unit string was displayed.
@property (nonatomic, copy, nullable) NSString *unit
Declared In
ORKQuestionResult.h