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

MobileSpirometryMeasureStep

[androidJvm]
class MobileSpirometryMeasureStep(id: String, name: String, model: MobileSpirometryMeasureModel, view: View<MobileSpirometryMeasureModel> = MobileSpirometryMeasureView()) : Step<MobileSpirometryMeasureModel, Unit>

Constructors

MobileSpirometryMeasureStep

[androidJvm]
fun MobileSpirometryMeasureStep(id: String, name: String, model: MobileSpirometryMeasureModel, view: View<MobileSpirometryMeasureModel> = MobileSpirometryMeasureView())

Functions

Name Summary
getState

[androidJvm]
fun getState(): MobileSpirometryMeasureModel
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: MobileSpirometryMeasureModel
data object for UI & state management

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Unit

view

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