ORKMultipleComponentQuestionResult Class Reference
Inherits from | ORKQuestionResult : ORKResult : NSObject |
---|---|
Declared in | ORKQuestionResult.h |
The ORKMultipleComponentQuestionResult
class represents the choice
answers from a multiple-component picker-style choice-based answer format.
For example, an ORKMultipleValuePickerAnswerFormat
produces an ORKMultipleComponentQuestionResult
object.
A multiple component 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.
componentsAnswer
An array of selected components, from the value
property of an ORKTextChoice
object.
The array will have the same count as the number of components.
@property (nonatomic, copy, nullable) NSArray *componentsAnswer
Discussion
If the user skipped the question, the value of the corresponding array member is nil
.
Declared In
ORKQuestionResult.h
separator
The string separator used to join the components (if applicable)
@property (nonatomic, copy, nullable) NSString *separator
Declared In
ORKQuestionResult.h