| com.glia.androidsdk.engagement.Survey.Question |
Survey question details.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | Survey.Question.Option | Options for the question with type SINGLE_CHOICE. |
|||||||||
| enum | Survey.Question.QuestionType | Defines the possible types of the survey Question. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract String | getId() | ||||||||||
| abstract String | getName() | ||||||||||
| abstract List<Survey.Question.Option> |
getOptions()
In case the question type is
SINGLE_CHOICE then the options attribute is required. | ||||||||||
| abstract int | getPosition() | ||||||||||
| abstract String | getSiteId() | ||||||||||
| abstract String | getText() | ||||||||||
| abstract Survey.Question.QuestionType | getType() | ||||||||||
| abstract boolean | isRequired() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
In case the question type is SINGLE_CHOICE then the options attribute is required.
true if the question requires an answer.