AltText

inner class AltText

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Whether ML Kit's on-device image description can run here (AVL-2). A custom provider is used whatever this says; without either, figures are listed with no proposed description.

Link copied to clipboard
suspend fun prepare(onProgress: (Float) -> Unit? = null): PdfAiAvailability

Downloads ML Kit's image description model. AVL-4 forbids the SDK starting a download on its own, so this exists to be called by the host and nowhere else.

Link copied to clipboard
suspend fun suggest(pages: IntRange? = null): PdfAltTextReview