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

TappingSpeedIntroModel

[androidJvm]
class TappingSpeedIntroModel(val id: String, val title: String = "Tapping Speed", val header: String = "Tapping Speed", val body: String? = "Place your phone on a flat surface.\n" +
"Use two fingers on right hand to alternatively tap the buttons on the screen for 10 seconds.\n" +
"Then, use two fingers on left hand to alternatively tap the buttons on the screen for 10 seconds.", val drawableId: Int? = R.drawable.ic_right_tapping_speed, val buttonText: String? = "Begin", val textType: TextType = NUMBER, rightHand: Boolean = true) : SimpleViewActivityModel

Constructors

TappingSpeedIntroModel

[androidJvm]
fun TappingSpeedIntroModel(id: String, title: String = "Tapping Speed", header: String = "Tapping Speed", body: String? = "Place your phone on a flat surface.\n" + "Use two fingers on right hand to alternatively tap the buttons on the screen for 10 seconds.\n" + "Then, use two fingers on left hand to alternatively tap the buttons on the screen for 10 seconds.", drawableId: Int? = R.drawable.ic_right_tapping_speed, buttonText: String? = "Begin", textType: TextType = NUMBER, rightHand: Boolean = true)

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

handType

[androidJvm]
val handType: String

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