@Implements(value=android.app.job.JobService.class, minSdk=21) public class ShadowJobService extends ShadowService
| Constructor | Description |
|---|---|
ShadowJobService() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getIsJobFinished() |
Returns whether the job has finished running.
|
boolean |
getIsRescheduleNeeded() |
Returns whether the job needs to be rescheduled.
|
protected void |
jobFinished(JobParameters params,
boolean needsReschedule) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearBroadcastIntents, clearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, getBroadcastIntents, getBroadcastIntentsForUser, getNextStartedActivity, getNextStartedActivityForResult, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedActivityForResult, peekNextStartedService, removeSystemServicegetLastForegroundNotification, getLastForegroundNotificationId, getNotificationShouldRemoved, getStopSelfId, getStopSelfResultId, isForegroundStopped, isLastForegroundNotificationAttached, isStoppedBySelf, onDestroy, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResult@Implementation protected void jobFinished(JobParameters params, boolean needsReschedule)
public boolean getIsJobFinished()
jobFinished(JobParameters, boolean) is called.public boolean getIsRescheduleNeeded()
jobFinished(JobParameters, boolean).