| java.lang.Object | |
| ↳ | android.print.PrintDocumentAdapter.WriteResultCallback |
Base class for implementing a callback for the result of onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal, WriteResultCallback).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Notifies that write was cancelled as a result of a cancellation request.
| |||||||||||
Notifies that an error occurred while writing the data.
| |||||||||||
Notifies that all the data was written.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Notifies that write was cancelled as a result of a cancellation request.
Notifies that an error occurred while writing the data.
| error | The localized error message.
shown to the user. May be null if error is unknown.
|
|---|
Notifies that all the data was written.
| pages | The pages that were written. Cannot be null
or empty.
|
|---|