# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# JobServiceEngine

`public abstract class JobServiceEngine`
`extends Object` ``

java.lang.Object
↳ | android.app.job.JobServiceEngine

Helper for implementing a `Service` that interacts with `JobScheduler`. This is not intended for use by regular applications, but allows frameworks built on top of the platform to create their own `Service` that interact with `JobScheduler` as well as add in additional functionality. If you just want to execute jobs normally, you should instead be looking at `JobService`.

## Summary

### Public constructors
`JobServiceEngine(Service service)` Create a new engine, ready for use.

### Public methods
`final IBinder` | `getBinder()` Retrieve the engine's IPC interface that should be returned by `Service#onBind(Intent)`.
`void` | `jobFinished(JobParameters params, boolean needsReschedule)` Call in to engine to report that a job has finished executing.
`abstract boolean` | `onStartJob(JobParameters params)` Engine's report that a job has started.
`abstract boolean` | `onStopJob(JobParameters params)` Engine's report that a job has stopped.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public constructors

### JobServiceEngine

    public JobServiceEngine (Service service)

Create a new engine, ready for use.

Parameters
`service` | `Service`: The `Service` that is creating this engine and in which it will run.

## Public methods

### getBinder

    public final IBinder getBinder ()

Retrieve the engine's IPC interface that should be returned by `Service#onBind(Intent)`.

Returns
`IBinder` |

### jobFinished

    public void jobFinished (JobParameters params,
                    boolean needsReschedule)

Call in to engine to report that a job has finished executing. See `JobService#jobFinished(JobParameters, boolean)` JobService.jobFinished} for more information.

Parameters
`params` | `JobParameters`
`needsReschedule` | `boolean`

### onStartJob

    public abstract boolean onStartJob (JobParameters params)

Engine's report that a job has started. See `JobService#onStartJob(JobParameters)` for more information.

Parameters
`params` | `JobParameters`

Returns
`boolean` |

### onStopJob

    public abstract boolean onStopJob (JobParameters params)

Engine's report that a job has stopped. See `JobService#onStopJob(JobParameters)` for more information.

Parameters
`params` | `JobParameters`

Returns
`boolean` |

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*