movePage

abstract fun movePage(documentUuid: String, fromIndex: Int, toIndex: Int): Result<DocumentData>

Moves a page within the document to a new position.

Return

The result containing the updated document data.

Parameters

documentUuid

The UUID of the document.

fromIndex

The current index of the page.

toIndex

The target index for the page.