DocumentChooserData

actual data class DocumentChooserData

Data for configuring a document chooser.

This is used with PresentmentModel to show a document chooser when launched e.g. as a Quick Access Wallet.

expect class DocumentChooserData

Data used to configure the document chooser used in PresentmentModel.

actual class DocumentChooserData

Not implemented for iOS at this point.

actual class DocumentChooserData

Not implemented for JVM platform at this point.

actual class DocumentChooserData

Not implemented for web-based platforms at this point.

Constructors

Link copied to clipboard
constructor(initiallySelectedDocumentId: String?, openAppPendingIntentFn: (document: Document) -> PendingIntent, preferredServices: List<ComponentName>)
constructor()
constructor()
constructor()

Properties

Link copied to clipboard

the document identifier to initially focus or null.

Link copied to clipboard

a function to create a PendingIntent to open the given document when the button is pressed.

Link copied to clipboard

a list of services which should be preferred while an activity providing the UI for PresentmentModel is in the foreground. See PresenmentActivity in the multipaz-compose library for an example.