Package-level declarations
Types
Link copied to clipboard
data class CredentialInfo(val credential: Credential, val claims: List<Claim>, val keyInfo: KeyInfo?, val keyInvalidated: Boolean)
Information about a single Credential inside a DocumentInfo.
Link copied to clipboard
data class DocumentInfo(val document: Document, val cardArt: ImageBitmap, val credentialInfos: List<CredentialInfo>)
Information about a Document in a DocumentModel.
Link copied to clipboard
class DocumentModel(val documentStore: DocumentStore, val documentTypeRepository: DocumentTypeRepository?, val documentOrderKey: String = "org.multipaz.DocumentModel.orderingKey")
Model that loads documents from a DocumentStore and keeps them updated.
Functions
Link copied to clipboard
fun DocumentCarousel(modifier: Modifier = Modifier, documentModel: DocumentModel, initialDocumentId: String? = null, allowReordering: Boolean = true, onDocumentClicked: (DocumentInfo) -> Unit = {}, onDocumentFocused: (DocumentInfo) -> Unit = {}, onDocumentReordered: (document: DocumentInfo, oldIndex: Int, newIndex: Int) -> Unit = { _, _, _ -> }, selectedDocumentInfo: @Composable (docInfo: DocumentInfo?, index: Int, total: Int) -> Unit = { _, _, _ -> }, emptyDocumentContent: @Composable () -> Unit = { })
A horizontal carousel composable that displays a collection of documents.