Settings

data class Settings(val appName: String, val appIcon: DrawableResource, val promptModel: PromptModel, val documentTypeRepository: DocumentTypeRepository, val presentmentSource: PresentmentSource, val privilegedAllowList: String)

Settings provided by the application for specifying what to present.

Constructors

Link copied to clipboard
constructor(appName: String, appIcon: DrawableResource, promptModel: PromptModel, documentTypeRepository: DocumentTypeRepository, presentmentSource: PresentmentSource, privilegedAllowList: String)

Properties

Link copied to clipboard
val appIcon: DrawableResource

the application icon.

Link copied to clipboard

the application name.

Link copied to clipboard

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

Link copied to clipboard

a string containing JSON with an allow-list of privileged browsers/apps that the applications trusts to provide the correct origin. For the format of the JSON see CallingAppInfo.getOrigin() in the Android Credential Manager APIs. For an example, see the public list of browsers trusted by Google Password Manager.

Link copied to clipboard