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

ColorWordChallengeMeasureModel

[androidJvm]
class ColorWordChallengeMeasureModel(val id: String, val title: String = "Color Word Challenge", val numTest: Int = 10) : StepModel

Constructors

ColorWordChallengeMeasureModel

[androidJvm]
fun ColorWordChallengeMeasureModel(id: String, title: String = "Color Word Challenge", numTest: Int = 10)

Functions

Name Summary
getRandomColor

[androidJvm]
fun getRandomColor(): Long

getRandomWord

[androidJvm]
fun getRandomWord(): String

Properties

Name Summary
colorCodes

[androidJvm]
val colorCodes: List<Long>

colorWords

[androidJvm]
val colorWords: List<String>

drawableId

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

id

[androidJvm]
val id: String
id

numTest

[androidJvm]
val numTest: Int = 10

testset

[androidJvm]
val testset: Array<IntArray>

title

[androidJvm]
val title: String
a title of UI