Kit > healthstack.kit.task.activity.model > RangeOfMotionMeasureModel
RangeOfMotionMeasureModel
[androidJvm]
class RangeOfMotionMeasureModel(val id: String, val title: String = "Range of Motion", val header: String = "Right Arm Circumduction", val body: List<String>? = listOf(
"Place phone in your right hand.",
"Straighten your right arm and move it in a full circle for 20 sec",
), val textType: TextType = TextType.NUMBER, val timeSeconds: Long = 20, val autoFlip: Boolean = true, val interactionType: InteractionType = InteractionType.VIBRATE, isRightHand: Boolean = true, val dataPrefix: String = if (isRightHand) "right" else "left", val sensors: List<SensorType> = listOf(GYROSCOPE, ACCELEROMETER)) : SimpleTimerActivityModel
Constructors
RangeOfMotionMeasureModel | [androidJvm] fun RangeOfMotionMeasureModel(id: String, title: String = "Range of Motion", header: String = "Right Arm Circumduction", body: List<String>? = listOf( "Place phone in your right hand.", "Straighten your right arm and move it in a full circle for 20 sec", ), textType: TextType = TextType.NUMBER, timeSeconds: Long = 20, autoFlip: Boolean = true, interactionType: InteractionType = InteractionType.VIBRATE, isRightHand: Boolean = true, dataPrefix: String = if (isRightHand) "right" else "left", sensors: List<SensorType> = listOf(GYROSCOPE, ACCELEROMETER)) |
Functions
Name | Summary |
---|---|
close | [androidJvm] fun close() |
init | [androidJvm] fun init() |
Properties
Name | Summary |
---|---|
accelerometer | [androidJvm] val accelerometer: List<MutableList<Float>>? |
autoFlip | [androidJvm] val autoFlip: Boolean = false |
body | [androidJvm] val body: List<String>? = null |
dataPrefix | [androidJvm] val dataPrefix: String |
drawableId | [androidJvm] val drawableId: Int? a representative image for UI |
gyroscope | [androidJvm] val gyroscope: List<MutableList<Float>>? |
header | [androidJvm] val header: String |
id | [androidJvm] val id: String id |
interactionType | [androidJvm] val interactionType: InteractionType |
sensors | [androidJvm] val sensors: List<SensorType> |
textType | [androidJvm] val textType: TextType |
timeMillis | [androidJvm] val timeMillis: List<Long> |
timeSeconds | [androidJvm] val timeSeconds: Long = 10 |
title | [androidJvm] val title: String a title of UI |