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

GuidedBreathingMeasureStep

[androidJvm]
class GuidedBreathingMeasureStep(id: String, name: String, model: GuidedBreathingMeasureModel, view: View<GuidedBreathingMeasureModel> = GuidedBreathingMeasureView()) : Step<GuidedBreathingMeasureModel, Unit>

Constructors

GuidedBreathingMeasureStep

[androidJvm]
fun GuidedBreathingMeasureStep(id: String, name: String, model: GuidedBreathingMeasureModel, view: View<GuidedBreathingMeasureModel> = GuidedBreathingMeasureView())

Functions

Name Summary
getState

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

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Unit

view

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