| com.pspdfkit.document.files.EmbeddedFilesProvider |
Handles all embedded files related operations on the owning document.
Retrieve it with getEmbeddedFilesProvider().
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Maybe<EmbeddedFile> |
getEmbeddedFileWithFileNameAsync(String fileName, boolean includeFileAnnotations)
Returns embedded file with file name if it exists, asynchronously.
| ||||||||||
| abstract Maybe<EmbeddedFile> |
getEmbeddedFileWithIdAsync(String id, boolean includeFileAnnotations)
Returns embedded file with given identifier if it exists, asynchronously.
| ||||||||||
| abstract List<EmbeddedFile> |
getEmbeddedFiles(boolean includeFileAnnotations)
Returns the list of embedded files in the document.
| ||||||||||
| abstract Single<List<EmbeddedFile>> |
getEmbeddedFilesAsync(boolean includeFileAnnotations)
Returns the list of embedded files in the document, async.
| ||||||||||
Returns embedded file with file name if it exists, asynchronously.
| fileName | Name of the embedded file to search for. |
|---|---|
| includeFileAnnotations | true to include files embedded in FileAnnotation. |
Maybe that either emits the requested file in `onSuccess()` or terminates with `onCompleted()` or `onError()`.
Returns embedded file with given identifier if it exists, asynchronously.
| id | Id of the embedded file to search for. |
|---|---|
| includeFileAnnotations | true to include files embedded in FileAnnotation. |
Maybe that either emits the requested file in `onSuccess()` or terminates with `onCompleted()` or `onError()`.
Returns the list of embedded files in the document.
Note: this call may block for a while and should not be called on the main thread.
| includeFileAnnotations | true to include files embedded in FileAnnotation. |
|---|
Returns the list of embedded files in the document, async.
| includeFileAnnotations | true to include files embedded in FileAnnotation. |
|---|