PrintJob.Cancel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cancels the print job.
[Android.Runtime.Register("cancel", "()Z", "")]
public bool Cancel ();
[<Android.Runtime.Register("cancel", "()Z", "")>]
member this.Cancel : unit -> bool
Returns
Whether the job is canceled.
- Attributes
Remarks
Cancels the print job. You should call this method if #isQueued()
or #isStarted() or #isBlocked()
returns true and you canceled the print job as a response to a call to PrintService#onRequestCancelPrintJob(PrintJob)
.
Java documentation for android.printservice.PrintJob.cancel()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.