Kit > healthstack.kit.task.onboarding > OnboardingTask

OnboardingTask

[androidJvm]
open class OnboardingTask : OrderedTask

Constructors

OnboardingTask

[androidJvm]
fun OnboardingTask(id: String, name: String, description: String, introStep: IntroStep)

OnboardingTask

[androidJvm]
fun OnboardingTask(id: String, name: String, description: String, introStep: IntroStep, eligibilityIntroStep: EligibilityIntroStep, eligibilityCheckerStep: EligibilityCheckerStep, eligibilityResultStep: EligibilityResultStep, consentTextStep: ConsentTextStep)

Functions

Name Summary
CardView

[androidJvm]
@Composable
open override fun CardView(onClick: () -> Unit)
A method for rendering CardView UI.

equals

[androidJvm]
open operator override fun equals(other: Any?): Boolean

hashCode

[androidJvm]
open override fun hashCode(): Int

Render

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

Properties

Name Summary
callback

[androidJvm]
var callback: () -> Unit? = null
a method handling task's state when it is finished

canceled

[androidJvm]
var canceled: () -> Unit? = null
a method handling task's state when it is canceled

description

[androidJvm]
val description: String
concise description of task

eligibility

[androidJvm]
var eligibility: Boolean = false

id

[androidJvm]
val id: String
id

isActive

[androidJvm]
var isActive: Boolean = true

isCompleted

[androidJvm]
var isCompleted: Boolean = false
flag for completion of task

name

[androidJvm]
val name: String
name

pageCallbacks

[androidJvm]
open override val pageCallbacks: CallbackCollection
An object including callback.

steps

[androidJvm]
val steps: List<Step<out StepModel, *>>