次の方法で共有


PrintJob.Fail(String) Method

Definition

Fails the print job.

[Android.Runtime.Register("fail", "(Ljava/lang/String;)Z", "")]
public bool Fail (string? error);
[<Android.Runtime.Register("fail", "(Ljava/lang/String;)Z", "")>]
member this.Fail : string -> bool

Parameters

error
String

The human readable, short, and translated reason for the failure.

Returns

Whether the job was failed.

Attributes

Remarks

Fails the print job. You should call this method if #isQueued() or #isStarted() or #isBlocked() returns true you failed while printing.

Java documentation for android.printservice.PrintJob.fail(java.lang.String).

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