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

GaitAndBalanceIntroModel

[androidJvm]
class GaitAndBalanceIntroModel(val id: String, val title: String = "Gait & Balance", val header: String = "Gait & Balance", val body: List<String>? = listOf(
"Walk unassisted for 20 steps in a straight line.",
"Turn around and walk back to your starting point.\n",
"Stand still for 20 seconds."
), val drawableId: Int? = R.drawable.ic_activity_gait_and_balance_straight, val buttonText: String? = "Begin", val textType: TextType = NUMBER) : SimpleViewActivityModel

Constructors

GaitAndBalanceIntroModel

[androidJvm]
fun GaitAndBalanceIntroModel(id: String, title: String = "Gait & Balance", header: String = "Gait & Balance", body: List<String>? = listOf( "Walk unassisted for 20 steps in a straight line.", "Turn around and walk back to your starting point.\n", "Stand still for 20 seconds." ), drawableId: Int? = R.drawable.ic_activity_gait_and_balance_straight, 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