DocumentView

@Composable
fun DocumentView(documentUri: Uri, modifier: Modifier = Modifier)

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.


@Composable
fun DocumentView(documentState: DocumentState, modifier: Modifier = Modifier)

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.