Kit > healthstack.kit.task.activity.model > ReactionTimeIntroModel
ReactionTimeIntroModel
[androidJvm]
class ReactionTimeIntroModel(val id: String, val title: String = "Reaction Time", goal: String = "square", val header: String = "Reaction Time", val body: List<String>? = listOf(
"Hold phone in your right hand.",
"As soon as you see a "${goal}" appear, shake phone.",
"If you do not shake phone within 3 seconds of the ${goal}'s appearing," +
" you will need to try again."
), val drawableId: Int? = R.drawable.ic_activity_reaction_time, val buttonText: String? = "Begin", val textType: TextType = TextType.NUMBER) : SimpleViewActivityModel
Constructors
ReactionTimeIntroModel | [androidJvm] fun ReactionTimeIntroModel(id: String, title: String = "Reaction Time", goal: String = "square", header: String = "Reaction Time", body: List<String>? = listOf( "Hold phone in your right hand.", "As soon as you see a "${goal}" appear, shake phone.", "If you do not shake phone within 3 seconds of the ${goal}'s appearing," + " you will need to try again." ), drawableId: Int? = R.drawable.ic_activity_reaction_time, 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 |