summaryrefslogtreecommitdiff
path: root/core/java/android/printservice/PrintService.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-06-24 09:04:48 -0700
committerSvetoslav <svetoslavganov@google.com>2013-06-24 09:05:38 -0700
commitfd90651cfcc7e2b75254666fd6861038b72fb4ac (patch)
tree353b9d16b7a1ca29ba3eff59529f08f822cd941a /core/java/android/printservice/PrintService.java
parent53f57d162b0553102fbd5c4ccdda87dbfce5b763 (diff)
Print APIs documentation update
Change-Id: I0df438e45ef540cc42c9ee5baafc816ebafa1c7b
Diffstat (limited to 'core/java/android/printservice/PrintService.java')
-rw-r--r--core/java/android/printservice/PrintService.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/java/android/printservice/PrintService.java b/core/java/android/printservice/PrintService.java
index d5cadc025244..92569661138d 100644
--- a/core/java/android/printservice/PrintService.java
+++ b/core/java/android/printservice/PrintService.java
@@ -52,7 +52,7 @@ import java.util.List;
* Calls to {@link #addDiscoveredPrinters(List)} and
* {@link #removeDiscoveredPrinters(List)} before a call to
* {@link #onStartPrinterDiscovery()} and after a call to
- * {@link #onStopPrinterDiscovery()} is a no-op.
+ * {@link #onStopPrinterDiscovery()} are a no-op.
* </p>
* <p>
* For every printer discovery period all printers have to be added. Each
@@ -68,7 +68,7 @@ import java.util.List;
* service may handle it immediately or schedule that for an appropriate
* time in the future. The list of all print jobs for this service
* are be available by calling {@link #getPrintJobs()}. A queued print
- * job is in a {@link PrintJobInfo#STATE_QUEUED} state.
+ * job is one whose {@link PrintJob#isQueued()} return true.
* </p>
* <p>
* A print service is responsible for setting the print job state as
@@ -200,7 +200,7 @@ public abstract class PrintService extends Service {
/**
* Callback requesting from this service to start printer discovery.
* At the end of the printer discovery period the system will call
- * {@link #onStopPrinterDiscovery(). Discovered printers should be
+ * {@link #onStopPrinterDiscovery()}. Discovered printers should be
* reported by calling #addDiscoveredPrinters(List) and reported ones
* that disappear should be reported by calling
* {@link #removeDiscoveredPrinters(List)}.
@@ -299,8 +299,7 @@ public abstract class PrintService extends Service {
/**
* Called when canceling of a print job is requested. The service
* should do best effort to fulfill the request. After the print
- * job is canceled it state has to be set to
- * {@link PrintJobInfo#STATE_CANCELED}.
+ * job is canceled by calling {@link PrintJob#cancel()}.
*
* @param printJob The print job to be canceled.
*/