Kit > healthstack.kit.task.survey.question.model > DateTimeQuestionModel
DateTimeQuestionModel
[androidJvm]
class DateTimeQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, isTime: Boolean, isDate: Boolean, isRange: Boolean) : QuestionModel<String>
Constructors
DateTimeQuestionModel | [androidJvm] fun DateTimeQuestionModel(id: String, query: String, explanation: String? = null, drawableId: Int? = null, skipLogics: List<SkipLogic> = emptyList(), answer: String? = null, isTime: Boolean, isDate: Boolean, isRange: Boolean) |
Types
Name | Summary |
---|---|
ViewType | [androidJvm] enum ViewType : Enum<DateTimeQuestionModel.ViewType> |
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 |
question | [androidJvm] val question: String |
result | [androidJvm] var result: String |
skipLogics | [androidJvm] val skipLogics: List<SkipLogic> |
type | [androidJvm] val type: QuestionModel.QuestionType |
viewType | [androidJvm] val viewType: DateTimeQuestionModel.ViewType |