ComposeDocumentChooserData
class ComposeDocumentChooserData(initiallySelectedDocumentId: String?, openAppPendingIntentFn: (document: Document) -> PendingIntent, preferredService: ComponentName, onDocumentSelected: (documentId: String?) -> Unit? = null, val documentSelectedContent: @Composable (documentId: String) -> Unit? = null) : DocumentChooserData
Data for configuring a document chooser with Compose Multiplatform UI slots.
Extends DocumentChooserData to add composable UI slots when driving presentment with Compose.
Constructors
Link copied to clipboard
constructor(initiallySelectedDocumentId: String?, openAppPendingIntentFn: (document: Document) -> PendingIntent, preferredService: ComponentName, onDocumentSelected: (documentId: String?) -> Unit? = null, documentSelectedContent: @Composable (documentId: String) -> Unit? = null)
Properties
Link copied to clipboard
optional composable content (e.g. @Composable (documentId: String) -> Unit) to render for a document is selected in the document chooser. The content will appear below the instructions to the user for holding closer to a reader to share.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard