Compartilhar via


JobScheduler.GetPendingJobReason(Int32) Method

Definition

Returns a reason why the job is pending and not currently executing.

[Android.Runtime.Register("getPendingJobReason", "(I)I", "GetGetPendingJobReason_IHandler", ApiSince=34)]
public virtual Android.App.Job.PendingJobReason GetPendingJobReason (int jobId);
[<Android.Runtime.Register("getPendingJobReason", "(I)I", "GetGetPendingJobReason_IHandler", ApiSince=34)>]
abstract member GetPendingJobReason : int -> Android.App.Job.PendingJobReason
override this.GetPendingJobReason : int -> Android.App.Job.PendingJobReason

Parameters

jobId
Int32

Returns

Attributes

Remarks

Returns a reason why the job is pending and not currently executing. If there are multiple reasons why a job may be pending, this will only return one of them.

Java documentation for android.app.job.JobScheduler.getPendingJobReason(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