java.lang.Object | |
↳ | android.printservice.PrintDocument |
This class represents a printed document from the perspective of a print service. It exposes APIs to query the document and obtain its data.
Note: All methods of this class must be executed on the main application thread.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Gets the data associated with this document.
|
||||||||||
|
Gets the
PrintDocumentInfo
that describes this document.
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the data associated with this document.
Note: It is a responsibility of the client to open a stream to the returned file descriptor, fully read the data, and close the file descriptor.
Gets the
PrintDocumentInfo
that describes this document.