다음을 통해 공유


PrintJob.SetStatus Method

Definition

Overloads

SetStatus(ICharSequence)

Sets the status of this print job.

SetStatus(Int32)

Sets the status of this print job as a string resource.

SetStatus(String)

Sets the status of this print job.

SetStatus(ICharSequence)

Sets the status of this print job.

[Android.Runtime.Register("setStatus", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)]
public void SetStatus (Java.Lang.ICharSequence? status);
[<Android.Runtime.Register("setStatus", "(Ljava/lang/CharSequence;)V", "", ApiSince=24)>]
member this.SetStatus : Java.Lang.ICharSequence -> unit

Parameters

status
ICharSequence

The new status. If null the status will be empty.

Attributes

Remarks

Sets the status of this print job. This should be a human readable, short, and translated description of the current state of the print job. <p /> This overrides any previously set status set via #setStatus(CharSequence), #setStatus(int), #block(String), or #fail(String),

Java documentation for android.printservice.PrintJob.setStatus(java.lang.CharSequence).

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

SetStatus(Int32)

Sets the status of this print job as a string resource.

[Android.Runtime.Register("setStatus", "(I)V", "", ApiSince=24)]
public void SetStatus (int statusResId);
[<Android.Runtime.Register("setStatus", "(I)V", "", ApiSince=24)>]
member this.SetStatus : int -> unit

Parameters

statusResId
Int32

The new status as a String resource. If 0 the status will be empty.

Attributes

Remarks

Sets the status of this print job as a string resource. <p /> This overrides any previously set status set via #setStatus(CharSequence), #setStatus(int), #block(String), or #fail(String),

Java documentation for android.printservice.PrintJob.setStatus(int).

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

SetStatus(String)

Sets the status of this print job.

public void SetStatus (string? status);
member this.SetStatus : string -> unit

Parameters

status
String

The new status. If null the status will be empty.

Remarks

Sets the status of this print job. This should be a human readable, short, and translated description of the current state of the print job. <p /> This overrides any previously set status set via #setStatus(CharSequence), #setStatus(int), #block(String), or #fail(String),

Java documentation for android.printservice.PrintJob.setStatus(java.lang.CharSequence).

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