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

MobileSpirometryActivityTask

[androidJvm]
fun MobileSpirometryActivityTask(id: String, taskId: String, name: String, description: String, completionTitle: String, completionDescription: List<String>?, steps: List<Step<out StepModel, *>> = listOf(
SimpleAudioActivityStep(
id, name, MobileSpirometryIntroModel(id, name)
),
MobileSpirometryMeasureStep(
id, name, MobileSpirometryMeasureModel(id, name)
),
SimpleViewActivityStep(
id, name, MobileSpirometryResultModel(id, name, header = completionTitle, body = completionDescription)
),
), isCompleted: Boolean = false, isActive: Boolean = true)