Package 

Class UriSource

  • All Implemented Interfaces:
    com.hyntix.pdf.viewer.source.DocumentSource

    
    public final class UriSource
     implements DocumentSource
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      UriSource(Uri uri)
    • Method Summary

      Modifier and Type Method Description
      PdfDocument createDocument(Context context, PdfiumCore core, String password)
      final Unit close() Close the ParcelFileDescriptor when the document source is no longer needed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UriSource

        UriSource(Uri uri)
    • Method Detail

      • close

         final Unit close()

        Close the ParcelFileDescriptor when the document source is no longer needed. This should be called when the PDFView is recycled or the document is closed.