Kit > healthstack.kit.task.activity.predefined > ReactionTimeActivityTask > ReactionTimeActivityTask

ReactionTimeActivityTask

[androidJvm]
fun ReactionTimeActivityTask(id: String, taskId: String, name: String, description: String, completionTitle: String, completionDescription: List<String>?, steps: List<Step<out StepModel, *>> = listOf(
SimpleViewActivityStep(
id, name, ReactionTimeIntroModel(id, name),
),
ReactionTimeMeasureStep(
id, name, ReactionTimeMeasureModel(id, name),
),
SimpleViewActivityStep(
id, name, ReactionTimeResultModel(id, name, header = completionTitle, body = completionDescription),
),
), isCompleted: Boolean = false, isActive: Boolean = true)