| java.lang.Object | |
| ↳ | android.print.PrintDocumentAdapter.LayoutResultCallback |
Base class for implementing a callback for the result of
onLayout(PrintAttributes, PrintAttributes, CancellationSignal, LayoutResultCallback, Bundle)
.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Notifies that layout was cancelled as a result of a cancellation request.
|
||||||||||
|
|
Notifies that an error occurred while laying out the document.
|
||||||||||
|
|
Notifies that the layout finished and whether the content changed.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
Notifies that layout was cancelled as a result of a cancellation request.
Notifies that an error occurred while laying out the document.
| error |
The
localized
error message.
shown to the user. May be
null
if error is unknown.
|
|---|
Notifies that the layout finished and whether the content changed.
| info |
An info object describing the document. Cannot be
null
.
|
|---|---|
| changed | Whether the layout changed. |