-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable
public interface Survey.Question implements Serializable, Parcelable
Survey question details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumSurvey.Question.QuestionTypeDefines the possible types of the survey Question.
public interfaceSurvey.Question.OptionOptions for the question with type SINGLE_CHOICE.
-
Method Summary
Modifier and Type Method Description abstract StringgetId()abstract StringgetName()abstract StringgetText()abstract Survey.Question.QuestionTypegetType()abstract booleanisRequired()abstract intgetPosition()abstract StringgetSiteId()abstract List<Survey.Question.Option>getOptions()In case the question type is SINGLE_CHOICE then the options attribute is required. -
-
Method Detail
-
getType
@NonNull() abstract Survey.Question.QuestionType getType()
-
isRequired
abstract boolean isRequired()
-
getPosition
abstract int getPosition()
-
getOptions
@Nullable() abstract List<Survey.Question.Option> getOptions()
In case the question type is SINGLE_CHOICE then the options attribute is required.
-
-
-
-