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

GuidedBreathingIntroModel

[androidJvm]
class GuidedBreathingIntroModel(val id: String, val title: String = "Guided Breathing", val header: String = "Guided Breathing", val body: List<String>? = listOf(
"Sit upright and take 3 deep breaths in and out as loudly as you can.",
"Inhale for 5 seconds and exhale for 5 seconds. Then, repeat for 3 cycles.",
"Do not hold your breath between inhale & exhale.",
), val drawableId: Int? = R.drawable.ic_activity_guided_breathing, val buttonText: String? = "Begin", val textType: TextType = TextType.NUMBER) : SimpleViewActivityModel

Constructors

GuidedBreathingIntroModel

[androidJvm]
fun GuidedBreathingIntroModel(id: String, title: String = "Guided Breathing", header: String = "Guided Breathing", body: List<String>? = listOf( "Sit upright and take 3 deep breaths in and out as loudly as you can.", "Inhale for 5 seconds and exhale for 5 seconds. Then, repeat for 3 cycles.", "Do not hold your breath between inhale & exhale.", ), drawableId: Int? = R.drawable.ic_activity_guided_breathing, buttonText: String? = "Begin", textType: 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