FileDocCategorySizeDatePackage
IJobCallback.javaAPI DocAndroid 5.1 API6433Sat Mar 14 05:47:58 GMT 2015android.app.job

IJobCallback

public interface IJobCallback implements android.os.IInterface
The server side of the JobScheduler IPC protocols. The app-side implementation invokes on this interface to indicate completion of the (asynchronous) instructions issued by the server. In all cases, the 'who' parameter is the caller's service binder, used to track which Job Service instance is reporting. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidacknowledgeStartMessage(int jobId, boolean ongoing)
Immediate callback to the system after sending a start signal, used to quickly detect ANR.

param
jobId Unique integer used to identify this job.
param
ongoing True to indicate that the client is processing the job. False if the job is complete

public voidacknowledgeStopMessage(int jobId, boolean reschedule)
Immediate callback to the system after sending a stop signal, used to quickly detect ANR.

param
jobId Unique integer used to identify this job.
param
reschedule Whether or not to reschedule this job.

public voidjobFinished(int jobId, boolean reschedule)