Kit > healthstack.kit.task.activity.model > MobileSpirometryIntroModel
MobileSpirometryIntroModel
[androidJvm]
class MobileSpirometryIntroModel(val id: String, val title: String = "Mobile Spirometry", count: Int = 3, val header: String = "Mobile Spirometry", val body: List<String>? = listOf(
"Hold phone 6 inches from mouth.",
"Take a deep breath and blow out fast, forcefully, and as long as you can.",
"Repeat $count times in one recording."
), val drawableId: Int? = R.drawable.ic_activity_mobile_spirometry, val buttonText: String? = "Start Recording", val textType: TextType = TextType.NUMBER) : SimpleAudioActivityModel
Constructors
MobileSpirometryIntroModel | [androidJvm] fun MobileSpirometryIntroModel(id: String, title: String = "Mobile Spirometry", count: Int = 3, header: String = "Mobile Spirometry", body: List<String>? = listOf( "Hold phone 6 inches from mouth.", "Take a deep breath and blow out fast, forcefully, and as long as you can.", "Repeat $count times in one recording." ), drawableId: Int? = R.drawable.ic_activity_mobile_spirometry, buttonText: String? = "Start Recording", 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 |