ORKAnswerOption Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ORKAnswerFormat_Internal.h |
Overview
The ORKAnswerOption
protocol defines brief option text for a option which can be included within ORK*ChoiceAnswerFormat
.
– value
required method
The value to be returned if this option is selected.
- (nullable id)value
Discussion
Expected to be a scalar type serializable to JSON, e.g. NSNumber
or NSString
.
If no value is provided, the index of the option in the ORK*ChoiceAnswerFormat
options list will be used.
Declared In
ORKAnswerFormat_Internal.h