PrintJob.Block(String) Method

Definition

Blocks the print job.

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

Parameters

reason
String

The human readable, short, and translated reason why the print job is blocked.

Returns

Boolean

Whether the job was blocked.

Attributes

Remarks

Java documentation for android.printservice.PrintJob.block(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