Kit > healthstack.kit.task.base > CallbackCollection

CallbackCollection

[androidJvm]
open class CallbackCollection

A object holding callback functions.

Callbacks are defined in Task, and then sent to Step and View.

Step and View can access or change properties of Task using provided callback functions.

Constructors

CallbackCollection

[androidJvm]
fun CallbackCollection()

Functions

Name Summary
getActivityResult

[androidJvm]
open fun getActivityResult(): String

getEligibility

[androidJvm]
open fun getEligibility(): Boolean

next

[androidJvm]
open fun next()

prev

[androidJvm]
open fun prev()

setActivityResult

[androidJvm]
open fun setActivityResult(key: String, value: Any)

setEligibility

[androidJvm]
open fun setEligibility(value: Boolean)