Settings

data class Settings(val appName: String, val appIcon: DrawableResource, val promptModel: PromptModel, val applicationTheme: @Composable (content: @Composable () -> Unit) -> Unit, val documentTypeRepository: DocumentTypeRepository, val presentmentSource: PresentmentSource, val httpClientEngineFactory: HttpClientEngineFactory<*>, val imageLoader: ImageLoader)

Settings provided by the application for specifying what to present.

Constructors

Link copied to clipboard
constructor(appName: String, appIcon: DrawableResource, promptModel: PromptModel, applicationTheme: @Composable (content: @Composable () -> Unit) -> Unit, documentTypeRepository: DocumentTypeRepository, presentmentSource: PresentmentSource, httpClientEngineFactory: HttpClientEngineFactory<*>, imageLoader: ImageLoader)

Properties

Link copied to clipboard
val appIcon: DrawableResource

the application icon.

Link copied to clipboard
val applicationTheme: @Composable (content: @Composable () -> Unit) -> Unit

the theme to use.

Link copied to clipboard

the application name.

Link copied to clipboard
val httpClientEngineFactory: HttpClientEngineFactory<*>

the factory for creating the Ktor HTTP client engine (e.g. CIO).

Link copied to clipboard
val imageLoader: ImageLoader

the ImageLoader to use.

Link copied to clipboard

the PresentmentSource to use as the source of truth for what to present.

Link copied to clipboard