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? = null): Luscii.AuthenticateResult

Authenticates with the given LusciiConfiguration.patientApiKey. If the API key is not set in the LusciiConfiguration, patientApiKey must be set.

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 launching a flow an Action.

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.