ORKQuestionType Constants Reference
Declared in | ORKTypes.h |
---|
ORKQuestionType
An enumeration of values that identify the different types of questions that the ResearchKit framework supports.
Definition
typedef NS_ENUM(NSInteger, ORKQuestionType ) {
ORKQuestionTypeNone,
ORKQuestionTypeScale,
ORKQuestionTypeSingleChoice,
ORKQuestionTypeMultipleChoice,
ORKQuestionTypeMultiplePicker,
ORKQuestionTypeDecimal,
ORKQuestionTypeInteger,
ORKQuestionTypeBoolean,
ORKQuestionTypeText,
ORKQuestionTypeTimeOfDay,
ORKQuestionTypeDateAndTime,
ORKQuestionTypeDate,
ORKQuestionTypeTimeInterval,
ORKQuestionTypeHeight,
ORKQuestionTypeWeight,
ORKQuestionTypeLocation,
};
Constants
ORKQuestionTypeNone
-
No question.
Declared In
ORKTypes.h
. ORKQuestionTypeScale
-
The scale question type asks participants to place a mark at an appropriate position on a continuous or discrete line.
Declared In
ORKTypes.h
. ORKQuestionTypeSingleChoice
-
In a single choice question, the participant can pick only one predefined option.
Declared In
ORKTypes.h
. ORKQuestionTypeMultipleChoice
-
In a multiple choice question, the participant can pick one or more predefined options.
Declared In
ORKTypes.h
. ORKQuestionTypeMultiplePicker
-
In a multiple component choice picker, the participant can pick one choice from each component.
Declared In
ORKTypes.h
. ORKQuestionTypeDecimal
-
The decimal question type asks the participant to enter a decimal number.
Declared In
ORKTypes.h
. ORKQuestionTypeInteger
-
The integer question type asks the participant to enter an integer number.
Declared In
ORKTypes.h
. ORKQuestionTypeBoolean
-
The Boolean question type asks the participant to enter Yes or No (or the appropriate equivalents).
Declared In
ORKTypes.h
. ORKQuestionTypeText
-
In a text question, the participant can enter multiple lines of text.
Declared In
ORKTypes.h
. ORKQuestionTypeTimeOfDay
-
In a time of day question, the participant can enter a time of day by using a picker.
Declared In
ORKTypes.h
. ORKQuestionTypeDateAndTime
-
In a date and time question, the participant can enter a combination of date and time by using a picker.
Declared In
ORKTypes.h
. ORKQuestionTypeDate
-
In a date question, the participant can enter a date by using a picker.
Declared In
ORKTypes.h
. ORKQuestionTypeTimeInterval
-
In a time interval question, the participant can enter a time span by using a picker.
Declared In
ORKTypes.h
. ORKQuestionTypeHeight
-
In a height question, the participant can enter a height by using a height picker.
Declared In
ORKTypes.h
. ORKQuestionTypeWeight
-
In a weight question, the participant can enter a weight by using a weight picker.
Declared In
ORKTypes.h
. ORKQuestionTypeLocation
-
In a location question, the participant can enter a location using a map view.
Declared In
ORKTypes.h
.
Declared In
ORKTypes.h