ORKStepResult Class Reference
ORKStepResult class represents a collection result produced by a step view controller to
hold all child results produced by the step.
A step 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.
For example, an
ORKQuestionStep object produces an
ORKQuestionResult object that becomes
a child of the
ORKStepResult object. Similarly, an
ORKActiveStep object may produce individual
child result objects for each of the recorder configurations that was active
during that step.
results property of the
ORKCollectionResult object contains the step results
for the task.
Returns an initialized step result using the specified identifier.
- (instancetype)initWithStepIdentifier:(NSString *)stepIdentifier results:(nullable NSArray<ORKResult*> *)results
The identifier of the step.
The array of child results. The value of this parameter can be
An initialized step result.