Package-level declarations
Document Editor API.
Types
A file picker for retrieving a destination Uri. getDestinationUri can be called whenever access to an Uri is required, for example when trying to save a PDF document to a random location. Various implementations of file pickers can exist, such as default Android SAF that shows a file browser for selecting a destination file prior to creating the exported PDFs. One usage of the FilePicker is the selection of a destination Uri for saving documents when editing using the PdfDocumentEditor.
Editor for PDF documents. A document editor can perform operations on a PDF document for page manipulation, reordering and importing documents. Document editor won't directly manipulate the returned document instance but will keep track of all editing steps internally, allowing them to save them back once editing is complete. To create a document editor use PdfDocumentEditorFactory.createForDocument.