DocumentView

fun DocumentView(documentUri: Uri, modifier: Modifier = Modifier, documentManager: DocumentManager = getDefaultDocumentManager())

Composable that displays the Document in the specified Uri.

Parameters

documentUri

Uri pointing to the location of the document to be displayed.

modifier

The Modifier to be applied to the layout.


fun DocumentView(documentState: DocumentState, modifier: Modifier = Modifier, documentManager: DocumentManager = getDefaultDocumentManager())

Composable that displays the Document in the specified Uri.

Parameters

documentState

The DocumentState describing the document to be shown.

modifier

The Modifier to be applied to the layout.