Kit > healthstack.kit.task.survey.question.model > TextInputQuestionModel

TextInputQuestionModel

[androidJvm]
class TextInputQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, val maxCharacter: Int = 500) : QuestionModel<String>

Constructors

TextInputQuestionModel

[androidJvm]
fun TextInputQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, maxCharacter: Int = 500)

Functions

Name Summary
getResponse

[androidJvm]
open override fun getResponse(): String

isCorrect

[androidJvm]
fun isCorrect(): Boolean

Properties

Name Summary
drawableId

[androidJvm]
val drawableId: Int?

explanation

[androidJvm]
val explanation: String?

id

[androidJvm]
val id: String

input

[androidJvm]
var input: String

maxCharacter

[androidJvm]
val maxCharacter: Int = 500

question

[androidJvm]
val question: String

skipLogics

[androidJvm]
val skipLogics: List<SkipLogic>

type

[androidJvm]
val type: QuestionModel.QuestionType