public abstract class GcmJobSchedulerService
extends GcmTaskService
Constructor and Description |
---|
GcmJobSchedulerService() |
Modifier and Type | Method and Description |
---|---|
static com.birbit.android.jobqueue.scheduling.GcmScheduler |
createSchedulerFor(android.content.Context appContext,
java.lang.Class<? extends GcmJobSchedulerService> klass)
Creates a scheduler for the given service.
|
protected abstract JobManager |
getJobManager()
Return the JobManager that is associated with this service
|
protected com.birbit.android.jobqueue.scheduling.GcmScheduler |
getScheduler() |
int |
onRunTask(TaskParams taskParams) |
public static com.birbit.android.jobqueue.scheduling.GcmScheduler createSchedulerFor(android.content.Context appContext, java.lang.Class<? extends GcmJobSchedulerService> klass)
appContext
- The application contextklass
- The service implementation that extends GcmJobSchedulerService.public int onRunTask(TaskParams taskParams)
protected com.birbit.android.jobqueue.scheduling.GcmScheduler getScheduler()
protected abstract JobManager getJobManager()