Kit > healthstack.kit.task.activity.model > SpeechRecognitionIntroModel

SpeechRecognitionIntroModel

[androidJvm]
class SpeechRecognitionIntroModel(val id: String, val title: String = "Speech Recognition", val header: String = "Speech Recognition", val body: List<String>? = listOf(
"Find yourself in a quiet environment without background noise.",
"Hold phone 6 inches from mouth.",
"Read the displayed transcription as loudly as possible"
), val drawableId: Int? = R.drawable.ic_activity_speech_recognition, val buttonText: String? = "Begin", val textType: TextType = NUMBER) : SimpleAudioActivityModel

Constructors

SpeechRecognitionIntroModel

[androidJvm]
fun SpeechRecognitionIntroModel(id: String, title: String = "Speech Recognition", header: String = "Speech Recognition", body: List<String>? = listOf( "Find yourself in a quiet environment without background noise.", "Hold phone 6 inches from mouth.", "Read the displayed transcription as loudly as possible" ), drawableId: Int? = R.drawable.ic_activity_speech_recognition, buttonText: String? = "Begin", textType: TextType = NUMBER)

Properties

Name Summary
body

[androidJvm]
val body: List<String>? = null

buttonText

[androidJvm]
val buttonText: String? = null

drawableId

[androidJvm]
val drawableId: Int?
a representative image for UI

header

[androidJvm]
val header: String

id

[androidJvm]
val id: String
id

textType

[androidJvm]
val textType: TextType

title

[androidJvm]
val title: String
a title of UI