Kit > healthstack.kit.task.onboarding.step > ConsentTextStep

ConsentTextStep

[androidJvm]
class ConsentTextStep(id: String, name: String, model: ConsentTextModel, view: View<ConsentTextModel> = ConsentTextView()) : Step<ConsentTextModel, Boolean>

Constructors

ConsentTextStep

[androidJvm]
fun ConsentTextStep(id: String, name: String, model: ConsentTextModel, view: View<ConsentTextModel> = ConsentTextView())

Functions

Name Summary
getState

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

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Boolean

view

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