Kit > healthstack.kit.task.activity.model.common > SimpleTimerActivityModel

SimpleTimerActivityModel

[androidJvm]
open class SimpleTimerActivityModel(val id: String, val title: String, val header: String, val body: List<String>? = null, val timeSeconds: Long = 10, val textType: TextType = PARAGRAPH, val interactionType: InteractionType = NOTHING, val autoFlip: Boolean = false, val dataPrefix: String, val sensors: List<SensorType>) : StepModel

Constructors

SimpleTimerActivityModel

[androidJvm]
fun SimpleTimerActivityModel(id: String, title: String, header: String, body: List<String>? = null, timeSeconds: Long = 10, textType: TextType = PARAGRAPH, interactionType: InteractionType = NOTHING, autoFlip: Boolean = false, dataPrefix: String, sensors: List<SensorType>)

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

Inheritors

Name
GaitAndBalanceBMeasureModel

RangeOfMotionMeasureModel