JobParameters

Class of android.app.job · JobParameters.java · Android's reference

public class JobParameters implements android.os.Parcelable

A running job's parameters.

Fields

public static final int STOP_REASON_UNDEFINED = 0 source
public static final int STOP_REASON_CANCELLED_BY_APP = 1 source

Methods

public int getJobId() source
public android.os.PersistableBundle getExtras() source
public android.os.Bundle getTransientExtras() source
public android.net.Network getNetwork() source
public android.net.Uri[] getTriggeredContentUris() source
public String[] getTriggeredContentAuthorities() source
public int getStopReason() source
public boolean isOverrideDeadlineExpired() source
public JobWorkItem dequeueWork() source

The work that the scheduler enqueued for the job: none, as enqueue() schedules the job alone.

public void completeWork(JobWorkItem work) empty body source
public int describeContents() source
public void writeToParcel(android.os.Parcel out, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.