DocumentState

A state object that can be hoisted to control and observe properties of the com.pspdfkit.jetpack.compose.views.DocumentView. Create instances of this object using rememberDocumentState.

Parameters

documentUri

The Uri for the document this state belongs to.

configuration

The PdfActivityConfiguration used for this state.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toggleView(option: Int)

Toggles the view based on the provided MENU_OPTIONS in com.pspdfkit.ui.PdfActivity.

Link copied to clipboard
suspend fun updateConfiguration()