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

GuidedBreathingActivityTask

[androidJvm]
fun GuidedBreathingActivityTask(id: String, taskId: String, name: String, description: String, completionTitle: String, completionDescription: List<String>?, steps: List<Step<out StepModel, *>> = listOf(
SimpleViewActivityStep(
id, name, GuidedBreathingIntroModel(id, name),
),
GuidedBreathingMeasureStep(
id, name, GuidedBreathingMeasureModel(id, name),
),
SimpleViewActivityStep(
id, name, GuidedBreathingResultModel(id, name, header = completionTitle, body = completionDescription),
),
), isCompleted: Boolean = false, isActive: Boolean = true)