SurveyAnswer
One answer option within a SurveyQuestion.
Package: com.microblink.core
Declaration
class SurveyAnswer : Parcelable
Quick Reference
Properties
| Property | Description |
|---|---|
serverId() | Server-assigned answer identifier |
text() | Display text of the answer option |
nextQuestionIndex() | Index of the next question to show |
Properties
serverId()
fun serverId(): Int
Server-assigned answer identifier.
text()
fun text(): String?
Display text of the answer option.
nextQuestionIndex()
fun nextQuestionIndex(): Int?
Zero-based index into Survey.questions() of the question to show next if the user selects this answer. -1 when the answer has no routing of its own: the survey then continues with the question after the current one. Whether the survey ends is decided by SurveyQuestion.lastQuestion(), not by this value.