JobScheduler.Schedule(JobInfo) Method

Definition

Schedule a job to be executed.

[Android.Runtime.Register("schedule", "(Landroid/app/job/JobInfo;)I", "GetSchedule_Landroid_app_job_JobInfo_Handler")]
public abstract int Schedule (Android.App.Job.JobInfo job);
[<Android.Runtime.Register("schedule", "(Landroid/app/job/JobInfo;)I", "GetSchedule_Landroid_app_job_JobInfo_Handler")>]
abstract member Schedule : Android.App.Job.JobInfo -> int

Parameters

job
JobInfo

The job you wish scheduled. See android.app.job.JobInfo.Builder JobInfo.Builder for more detail on the sorts of jobs you can schedule.

Returns

Int32

the result of the schedule request.

Attributes

Remarks

Java documentation for android.app.job.JobScheduler.schedule(android.app.job.JobInfo).

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