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 (1)
| Label | Occurrences |
|---|---|
| android.print.PrintDocumentAdapter canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8611271 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: android.print.PrintDocumentAdapter Context triple: [Android system print framework, exposesClass, android.print.PrintDocumentAdapter]
-
A.
AirPrint
AirPrint is Apple's wireless printing technology that lets iOS and macOS devices print directly to compatible printers without needing additional drivers or software.
-
B.
Network-aware Print Manager
Network-aware Print Manager is a Windows for Workgroups utility that manages and coordinates printing tasks across networked printers and shared print resources.
-
C.
Android system print framework
The Android system print framework is the built-in printing infrastructure in Android that enables apps to discover printers and send print jobs using standardized services and drivers.
-
D.
PrintDlg
PrintDlg is a Windows common dialog box API function that displays and manages the standard print dialog for selecting printers and print options.
-
E.
Printer Access Protocol
Printer Access Protocol is a network printing protocol used in AppleTalk environments to manage communication between computers and printers.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: android.print.PrintDocumentAdapter Target entity description: android.print.PrintDocumentAdapter is an Android framework class that applications implement to generate and manage printable content for the system print service.
-
A.
AirPrint
AirPrint is Apple's wireless printing technology that lets iOS and macOS devices print directly to compatible printers without needing additional drivers or software.
-
B.
Network-aware Print Manager
Network-aware Print Manager is a Windows for Workgroups utility that manages and coordinates printing tasks across networked printers and shared print resources.
-
C.
Android system print framework
The Android system print framework is the built-in printing infrastructure in Android that enables apps to discover printers and send print jobs using standardized services and drivers.
-
D.
PrintDlg
PrintDlg is a Windows common dialog box API function that displays and manages the standard print dialog for selecting printers and print options.
-
E.
Printer Access Protocol
Printer Access Protocol is a network printing protocol used in AppleTalk environments to manage communication between computers and printers.
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Android framework class
ⓘ
java.lang.Object subclass ⓘ |
| belongsToPlatform | Android NERFINISHED ⓘ |
| 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 NERFINISHED ⓘ |
| interactsWith |
android.os.CancellationSignal
ⓘ
android.print.PageRange NERFINISHED ⓘ android.print.PrintAttributes ⓘ android.print.PrintDocumentAdapter.LayoutResultCallback ⓘ android.print.PrintDocumentAdapter.WriteResultCallback NERFINISHED ⓘ android.print.PrintDocumentInfo ⓘ android.print.PrintManager NERFINISHED ⓘ |
| introducedInAndroidVersion | Android 4.4 KitKat NERFINISHED ⓘ |
| 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
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: android.print.PrintDocumentAdapter Description of subject: android.print.PrintDocumentAdapter is an Android framework class that applications implement to generate and manage printable content for the system print service.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.