ORKQuestionResult Class Reference

Inherits from ORKResult : NSObject
Declared in ORKQuestionResult.h

The ORKQuestionResult class is the base class for leaf results from an item that uses an answer format (ORKAnswerFormat).

A 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.

See also: ORKQuestionStep and ORKFormItem.

  questionType

A value that indicates the type of question the result came from.

@property (nonatomic) ORKQuestionType questionType

Discussion

The value of questionType generally correlates closely with the class, but it can be easier to use this value in a switch statement in Objective-C.

Declared In

ORKQuestionResult.h