Kit > healthstack.kit.task.activity.model > RangeOfMotionIntroModel
RangeOfMotionIntroModel
[androidJvm]
class RangeOfMotionIntroModel(val id: String, val title: String = "Range of Motion", val header: String = "Range of Motion", val body: List<String>? = listOf(
"Place phone in your right hand.",
"Straighten your right arm and move it in a full circle for the given sec.",
"Then, place phone in your left hand.",
"Straighten your left arm and move it in a full circle for the given sec.",
), val drawableId: Int? = R.drawable.ic_activity_range_of_motion_right_arm, val buttonText: String? = "Begin", val textType: TextType = TextType.NUMBER) : SimpleViewActivityModel
Constructors
RangeOfMotionIntroModel | [androidJvm] fun RangeOfMotionIntroModel(id: String, title: String = "Range of Motion", header: String = "Range of Motion", body: List<String>? = listOf( "Place phone in your right hand.", "Straighten your right arm and move it in a full circle for the given sec.", "Then, place phone in your left hand.", "Straighten your left arm and move it in a full circle for the given sec.", ), drawableId: Int? = R.drawable.ic_activity_range_of_motion_right_arm, 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 |