Luscii

class Luscii(configure: LusciiConfiguration.() -> Unit? = null)

Entry-point of the Luscii SDK.

Constructors

Link copied to clipboard
constructor(configure: LusciiConfiguration.() -> Unit? = null)

Types

Link copied to clipboard
sealed interface AuthenticateResult

Result of authenticate.

Functions

Link copied to clipboard
suspend fun authenticate(patientApiKey: String): Luscii.AuthenticateResult

Authenticates with the given patientApiKey.

Link copied to clipboard

Returns a new fragment for launching a flow for the given action.

Link copied to clipboard

Builds a new fragment that shows the Luscii Actions screen.

Link copied to clipboard

Create a new ActivityResultContract for showing the Luscii disclaimer, which must be accepted before using other features of the Luscii SDK. Only newly registered users have to do this.

Link copied to clipboard
suspend fun getActions(): List<Action>

Returns all actions to do for today.

Link copied to clipboard

Starts an Activity that shows the Luscii Actions screen.