Kit > healthstack.kit.task.activity.step > TappingSpeedMeasureStep

TappingSpeedMeasureStep

[androidJvm]
class TappingSpeedMeasureStep(id: String, name: String, model: TappingSpeedMeasureModel, view: View<TappingSpeedMeasureModel> = TappingSpeedMeasureView()) : Step<TappingSpeedMeasureModel, Map<String, Int>>

Constructors

TappingSpeedMeasureStep

[androidJvm]
fun TappingSpeedMeasureStep(id: String, name: String, model: TappingSpeedMeasureModel, view: View<TappingSpeedMeasureModel> = TappingSpeedMeasureView())

Functions

Name Summary
getState

[androidJvm]
fun getState(): TappingSpeedMeasureModel
A method for getting state of Step.

Render

[androidJvm]
@Composable
open override fun Render(callbackCollection: CallbackCollection)
A method for rendering UI.

Properties

Name Summary
id

[androidJvm]
val id: String
id

model

[androidJvm]
val model: TappingSpeedMeasureModel
data object for UI & state management

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Map<String, Int>

view

[androidJvm]
val view: View<TappingSpeedMeasureModel>
view object holding UI method