Condividi tramite


PrintJob.Cancel Method

Definition

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.

Applies to

See also