diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-08-14 17:31:04 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2013-08-19 13:24:11 -0700 |
commit | 269403b032f965ff3847eb982c2f697229dc5a92 (patch) | |
tree | 96ef6d8d99f7cbd56d78c63bf5e4da78a42831c1 /core/java/android/printservice/IPrintService.aidl | |
parent | b93489270d41bbaf513f0018164ab8b6d6ca9519 (diff) | |
download | frameworks_base-269403b032f965ff3847eb982c2f697229dc5a92.zip frameworks_base-269403b032f965ff3847eb982c2f697229dc5a92.tar.gz frameworks_base-269403b032f965ff3847eb982c2f697229dc5a92.tar.bz2 |
Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers
with discovered printers.
2. Added save as PDF support.
3. Added all printers activity with search capability and optional
add printers chooser (if any print service provides add printers
activity)
4. Refactored the printer discovery session APIs. Now one session
can have multiple window discovery windows and the session stores
the printers found during past discovery periods.
5. Merged the print spooler and the print spooler service - much
simpler and easier to maintain.
Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
Diffstat (limited to 'core/java/android/printservice/IPrintService.aidl')
-rw-r--r-- | core/java/android/printservice/IPrintService.aidl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/core/java/android/printservice/IPrintService.aidl b/core/java/android/printservice/IPrintService.aidl index 16b7a26..2cee1d8 100644 --- a/core/java/android/printservice/IPrintService.aidl +++ b/core/java/android/printservice/IPrintService.aidl @@ -16,7 +16,7 @@ package android.printservice; -import android.print.IPrinterDiscoverySessionObserver; +import android.print.PrinterId; import android.print.PrintJobInfo; import android.printservice.IPrintServiceClient; @@ -29,5 +29,10 @@ oneway interface IPrintService { void setClient(IPrintServiceClient client); void requestCancelPrintJob(in PrintJobInfo printJobInfo); void onPrintJobQueued(in PrintJobInfo printJobInfo); - void createPrinterDiscoverySession(IPrinterDiscoverySessionObserver observer); + + void createPrinterDiscoverySession(); + void startPrinterDiscovery(in List<PrinterId> priorityList); + void stopPrinterDiscovery(); + void requestPrinterUpdate(in PrinterId printerId); + void destroyPrinterDiscoverySession(); } |