Kit > healthstack.kit.task.activity.step.common > SimpleAudioActivityStep

SimpleAudioActivityStep

[androidJvm]
class SimpleAudioActivityStep(id: String, name: String, model: SimpleAudioActivityModel, view: View<SimpleAudioActivityModel> = SimpleAudioActivityView()) : Step<SimpleAudioActivityModel, Unit>

Constructors

SimpleAudioActivityStep

[androidJvm]
fun SimpleAudioActivityStep(id: String, name: String, model: SimpleAudioActivityModel, view: View<SimpleAudioActivityModel> = SimpleAudioActivityView())

Functions

Name Summary
getState

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

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Unit

view

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