Document View
fun DocumentView(documentUri: Uri, modifier: Modifier = Modifier, documentManager: DocumentManager = getDefaultDocumentManager())
Composable that displays the Document in the specified Uri.
Parameters
document Uri
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
document State
The DocumentState describing the document to be shown.
modifier
The Modifier to be applied to the layout.