Partager via


JobScheduler.GetPendingJob(Int32) Method

Definition

Look up the description of a scheduled job.

[Android.Runtime.Register("getPendingJob", "(I)Landroid/app/job/JobInfo;", "GetGetPendingJob_IHandler", ApiSince=24)]
public abstract Android.App.Job.JobInfo? GetPendingJob (int jobId);
[<Android.Runtime.Register("getPendingJob", "(I)Landroid/app/job/JobInfo;", "GetGetPendingJob_IHandler", ApiSince=24)>]
abstract member GetPendingJob : int -> Android.App.Job.JobInfo

Parameters

jobId
Int32

Returns

The JobInfo description of the given scheduled job, or null if the supplied job ID does not correspond to any job.

Attributes

Remarks

Look up the description of a scheduled job.

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