android.print.PrintDocumentAdapter

E745336

android.print.PrintDocumentAdapter is an Android framework class that applications implement to generate and manage printable content for the system print service.

All labels observed (7)

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf Android framework class ⓘ
java.lang.Object subclass ⓘ
belongsToPlatform Android ⓘ
callbackRole LayoutResultCallback is used to report layout success or failure ⓘ
WriteResultCallback is used to report write success or failure ⓘ
category printing API ⓘ
definedInPackage android.print ⓘ
designPattern callback-based adapter pattern ⓘ
documentationUrl https://developer.android.com/reference/android/print/PrintDocumentAdapter ⓘ
extendedBy android.print.pdf.PrintedPdfDocument-based adapters ⓘ
hasMethod onFinish ⓘ
onLayout ⓘ
onLayoutCancelled ⓘ
onStart ⓘ
onWrite ⓘ
onWriteCancelled ⓘ
hasNestedClass android.print.PrintDocumentAdapter.LayoutResultCallback ⓘ
android.print.PrintDocumentAdapter.WriteResultCallback ⓘ
interactsWith android.os.CancellationSignal ⓘ
android.print.PageRange ⓘ
android.print.PrintAttributes ⓘ
android.print.PrintDocumentAdapter.LayoutResultCallback ⓘ
android.print.PrintDocumentAdapter.WriteResultCallback ⓘ
android.print.PrintDocumentInfo ⓘ
android.print.PrintManager ⓘ
linked to: PrintManager API
introducedInAndroidVersion Android 4.4 KitKat ⓘ
introducedInApiLevel 19 ⓘ
lifecycleCallback onFinish is called when printing finishes ⓘ
onStart is called when printing starts ⓘ
methodSignature void onFinish() ⓘ
void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, PrintDocumentAdapter.LayoutResultCallback callback, Bundle extras) ⓘ
void onLayoutCancelled() ⓘ
void onStart() ⓘ
void onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, PrintDocumentAdapter.WriteResultCallback callback) ⓘ
void onWriteCancelled() ⓘ
partOf Android printing framework ⓘ
requiresPermission no special permission; used via PrintManager ⓘ
responsibleFor handling layout cancellation ⓘ
handling write cancellation ⓘ
reporting document layout results ⓘ
writing document pages to a file descriptor ⓘ
supports printing to PDF ⓘ
printing to physical printers via print service ⓘ
threadingConstraint callback methods are invoked on the main thread ⓘ
typicalUsage implemented as an anonymous inner class in an Activity or Fragment ⓘ
usedBy Android applications ⓘ
usedFor creating printable content ⓘ
managing print jobs ⓘ
usedWith android.print.PrintManager.print ⓘ

How these facts were elicited

Referenced by (10)

Full triples — surface form annotated when it differs from this entity's canonical label.

Android system print framework → exposesClass → android.print.PrintDocumentAdapter ⓘ
PrintManager → usedWith → PrintDocumentAdapter ⓘ
subject linked to: PrintManager API
linked to: android.print.PrintDocumentAdapter
PrintDocumentAdapter → definedIn → android.print package ⓘ
subject linked to: PrintDocumentAdapter API
linked to: android.print.PrintDocumentAdapter
PrintDocumentAdapter → relatedClass → PrintDocumentAdapter.LayoutResultCallback ⓘ
subject linked to: PrintDocumentAdapter API
linked to: android.print.PrintDocumentAdapter
PrintDocumentAdapter → relatedClass → PrintDocumentAdapter.WriteResultCallback ⓘ
subject linked to: PrintDocumentAdapter API
linked to: android.print.PrintDocumentAdapter
PrintAttributes → usedBy → PrintDocumentAdapter ⓘ
subject linked to: PrintAttributes API
linked to: android.print.PrintDocumentAdapter
android.print.PrintAttributes → usedWith → android.print.PrintDocumentAdapter ⓘ
android.print.PrintAttributes → usedBy → PrintDocumentAdapter.onLayout() ⓘ
linked to: android.print.PrintDocumentAdapter
android.print.PrintDocumentAdapter → interactsWith → android.print.PrintDocumentAdapter.WriteResultCallback ⓘ
linked to: android.print.PrintDocumentAdapter
android.print.PageRange → usedBy → android.print.PrintDocumentAdapter ⓘ