Package 

Class PdfViewerConfiguration

    • Method Detail

      • getThumbnailQuality

         final Float getThumbnailQuality()

        Between 0 and 1, the thumbnails quality (default 0.7). Increasing this value may cause performance decrease.

      • getRenderTileSize

         final Float getRenderTileSize()

        The size of the rendered parts (default 512 for better quality). Tinier : a little bit slower to have the whole page rendered but more reactive. Bigger : user will have to wait longer to have the first visual results

      • getPreloadMarginDp

         final Float getPreloadMarginDp()

        Part of the document above and below the screen that should be preloaded, in dp.

      • getMaxCachedBitmaps

         final Integer getMaxCachedBitmaps()

        The size of the cache (number of bitmaps kept). Increased to 64 to support better caching at high zoom levels (3-4×) and reduce cache thrashing during multi-page viewing.

      • getMaxCachedPages

         final Integer getMaxCachedPages()

        Max pages kept in View Increasing this value may cause performance decrease