FileDocCategorySizeDatePackage
StateChangedListener.javaAPI DocAndroid 5.1 API1529Thu Mar 12 22:22:42 GMT 2015com.android.server.job

StateChangedListener

public interface StateChangedListener
Interface through which a {@link com.android.server.job.controllers.StateController} informs the {@link com.android.server.job.JobSchedulerService} that there are some tasks potentially ready to be run.

Fields Summary
Constructors Summary
Methods Summary
public voidonControllerStateChanged()
Called by the controller to notify the JobManager that it should check on the state of a task.

public voidonRunJobNow(com.android.server.job.controllers.JobStatus jobStatus)
Called by the controller to notify the JobManager that regardless of the state of the task, it must be run immediately.

param
jobStatus The state of the task which is to be run immediately. null indicates to the scheduler that any ready jobs should be flushed.