Kit > healthstack.kit.task.survey > SurveyTask > Builder

Builder

[androidJvm]
class Builder(id: String, revisionId: Int, taskId: String, name: String, description: String, callback: () -> Unit, pageable: Boolean = true, isCompleted: Boolean = false, isActive: Boolean = true)

Constructors

Builder

[androidJvm]
fun Builder(id: String, revisionId: Int, taskId: String, name: String, description: String, callback: () -> Unit, pageable: Boolean = true, isCompleted: Boolean = false, isActive: Boolean = true)

Functions

Name Summary
addQuestion

[androidJvm]
fun <R> addQuestion(question: QuestionModel<R>)

addSection

[androidJvm]
fun addSection()

build

[androidJvm]
fun build(): SurveyTask