Package-level declarations

Common utility classes for working with PSPDFKit.

Types

Link copied to clipboard
Object represents page insets.
Link copied to clipboard
This provides methods to help with working with FreeTextAnnotations.
Link copied to clipboard
Logger that logs all messages to LogCat.
Link copied to clipboard
open class PageRect : Comparable<T>
This is a rect representing a page object drawn on screen.
Link copied to clipboard
class PdfLog
Logger used for logging inside PSPDFKit.
Link copied to clipboard
open class PdfUtils
Collection of useful methods for working with PDF documents.
Link copied to clipboard
open class Size : Comparable<T> , Parcelable
Data structure representing a size.

Functions

Link copied to clipboard

Creates TextBlock from textual annotation.

fun PdfDocument.createTextBlock(@IntRange(from = 0) pageIndex: Int, range: Range): TextBlock

Creates a TextBlock from the given page.

Link copied to clipboard

Retrieves meta-data information about an application package that is installed on the system using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard

Retrieves overall information about an application package that is installed on the system using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard
fun <T> Bundle.getSupportParcelable(key: String, clazz: Class<T>): T?

Gets parcelable with the value associated to the given key using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard

Gets parcelable array list with the value associated to the given key using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard

Retrieves extended data from the intent. using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard

Retrieves all activities that can be performed for the given intent using appropriate API for Android Tiramisu and upwards.

Link copied to clipboard
fun <T : Parcelable> Parcel.readSupportList(list: List<T>, clazz: Class<T>): List<T>

Reads into the given list items containing a particular object type that were written with Parcel.writeTypedList at the current Parcel.dataPosition. The list must have previously been written via Parcel.writeTypedList with the same object type.

Link copied to clipboard
fun <T : Parcelable> Parcel.readSupportParcelable(classLoader: ClassLoader?, clazz: Class<T>): T?

Reads a new Parcelable from the parcel. The given class loader will be used to load any enclosed Parcelables. If it is null, the default class loader will be used.