public class JobProxy21 extends java.lang.Object implements JobProxy
JobProxy.Common| Modifier and Type | Field and Description |
|---|---|
protected CatLog |
mCat |
protected android.content.Context |
mContext |
| Modifier | Constructor and Description |
|---|---|
|
JobProxy21(android.content.Context context) |
protected |
JobProxy21(android.content.Context context,
java.lang.String logTag) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(int jobId) |
protected int |
convertNetworkType(JobRequest.NetworkType networkType) |
protected android.app.job.JobInfo.Builder |
createBaseBuilder(JobRequest request) |
protected android.app.job.JobInfo.Builder |
createBuilderOneOff(android.app.job.JobInfo.Builder builder,
long startMs,
long endMs) |
protected android.app.job.JobInfo.Builder |
createBuilderPeriodic(android.app.job.JobInfo.Builder builder,
long intervalMs,
long flexMs) |
protected android.app.job.JobScheduler |
getJobScheduler() |
boolean |
isPlatformJobScheduled(JobRequest request) |
void |
plantOneOff(JobRequest request) |
void |
plantPeriodic(JobRequest request) |
void |
plantPeriodicFlexSupport(JobRequest request) |
protected int |
schedule(android.app.job.JobInfo jobInfo) |
protected static java.lang.String |
scheduleResultToString(int scheduleResult) |
protected final android.content.Context mContext
protected final CatLog mCat
public JobProxy21(android.content.Context context)
protected JobProxy21(android.content.Context context,
java.lang.String logTag)
public void plantOneOff(JobRequest request)
plantOneOff in interface JobProxypublic void plantPeriodic(JobRequest request)
plantPeriodic in interface JobProxypublic void plantPeriodicFlexSupport(JobRequest request)
plantPeriodicFlexSupport in interface JobProxypublic boolean isPlatformJobScheduled(JobRequest request)
isPlatformJobScheduled in interface JobProxyprotected android.app.job.JobInfo.Builder createBaseBuilder(JobRequest request)
protected android.app.job.JobInfo.Builder createBuilderOneOff(android.app.job.JobInfo.Builder builder,
long startMs,
long endMs)
protected android.app.job.JobInfo.Builder createBuilderPeriodic(android.app.job.JobInfo.Builder builder,
long intervalMs,
long flexMs)
protected int convertNetworkType(JobRequest.NetworkType networkType)
protected final android.app.job.JobScheduler getJobScheduler()
protected final int schedule(android.app.job.JobInfo jobInfo)
protected static java.lang.String scheduleResultToString(int scheduleResult)