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

SpeechRecognitionActivityTask

[androidJvm]
fun SpeechRecognitionActivityTask(id: String, taskId: String, name: String, description: String, completionTitle: String, completionDescription: List<String>?, steps: List<Step<out StepModel, *>> = listOf(
SimpleAudioActivityStep(
id, name, SpeechRecognitionIntroModel(id, name)
),
SpeechRecognitionMeasureStep(
id, name, SpeechRecognitionMeasureModel(id, name)
),
SimpleViewActivityStep(
id, name, SpeechRecognitionResultModel(id, name, header = completionTitle, body = completionDescription)
)
), isCompleted: Boolean = false, isActive: Boolean = true)