Subclasses need to override this method and return a readable input stream which servers the PDF document.
A field that generates the instances of this class from the provided
Default constructor taking the
assetName of a document. The filename/path
needs to be relative to the asset directory.
||Filename of the asset in the application assets folder.
Uri from which this provided was created.
Uri this data provider was created from.
(Parcel dest, int flags)
Subclasses need to override this method and return a readable input stream which servers the PDF document. This
method must return a new
InputStream instance every time it is called. This is
InputStreamDataProvider can actually "simulate" random data access on the underlying stream.
- A new instance of the InputStream that servers the PDF document.