Merge "Addressing API councing suggestions for com.android.printservice" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
533e118f5a
@@ -26,8 +26,8 @@ import android.util.Log;
|
||||
* service. It provides APIs for observing the print job state and
|
||||
* performing operations on the print job.
|
||||
* <p>
|
||||
* <strong>Note: </strong> All methods of this class must be executed on the main
|
||||
* application thread.
|
||||
* <strong>Note: </strong> All methods of this class must be invoked on
|
||||
* the main application thread.
|
||||
* </p>
|
||||
*/
|
||||
public final class PrintJob {
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.util.List;
|
||||
/**
|
||||
* This class encapsulates the interaction between a print service and the
|
||||
* system during printer discovery. During printer discovery you are responsible
|
||||
* for adding discovered printers, removing already added printers that
|
||||
* for adding discovered printers, removing previously added printers that
|
||||
* disappeared, and updating already added printers.
|
||||
* <p>
|
||||
* During the lifetime of this session you may be asked to start and stop
|
||||
|
||||
@@ -9,8 +9,7 @@ implementation is factored out of the system and can by independently developed
|
||||
<p>
|
||||
A print service implementation should extend {@link android.printservice.PrintService}
|
||||
and implement its abstract methods. Also the print service has to follow the contract for
|
||||
managing print {@link android.printservice.PrintJob}s to ensure correct interaction with
|
||||
the system and consistent user experience.
|
||||
managing print {@link android.printservice.PrintJob}s.
|
||||
<p/>
|
||||
<p>
|
||||
The system is responsible for starting and stopping a print service depending on whether
|
||||
|
||||
Reference in New Issue
Block a user