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

ReactionTimeMeasureModel

[androidJvm]
class ReactionTimeMeasureModel(val id: String, val title: String = "Reaction Time", val goal: String = "square", val drawableId: Int? = null) : StepModel

Constructors

ReactionTimeMeasureModel

[androidJvm]
fun ReactionTimeMeasureModel(id: String, title: String = "Reaction Time", goal: String = "square", drawableId: Int? = null)

Types

Name Summary
SensorDataManager

[androidJvm]
class SensorDataManager : SensorEventListener

TestShape

[androidJvm]
enum TestShape : Enum<ReactionTimeMeasureModel.TestShape>

Functions

Name Summary
close

[androidJvm]
fun close()

getData

[androidJvm]
fun getData(): Flow<Boolean>

init

[androidJvm]
fun init()

isGoal

[androidJvm]
fun isGoal(shape: ReactionTimeMeasureModel.TestShape): Boolean

Properties

Name Summary
drawableId

[androidJvm]
val drawableId: Int?
a representative image for UI

goal

[androidJvm]
val goal: String

id

[androidJvm]
val id: String
id

title

[androidJvm]
val title: String
a title of UI