public class JobProxy14 extends Object implements JobProxy
JobProxy.Common| Modifier and Type | Field and Description |
|---|---|
protected JobCat |
mCat |
protected Context |
mContext |
| Modifier | Constructor and Description |
|---|---|
|
JobProxy14(Context context) |
protected |
JobProxy14(Context context,
String logTag) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(int jobId) |
protected int |
createPendingIntentFlags(boolean repeating) |
protected AlarmManager |
getAlarmManager() |
protected PendingIntent |
getPendingIntent(int jobId,
boolean exact,
Bundle transientExtras,
int flags) |
protected PendingIntent |
getPendingIntent(JobRequest request,
boolean repeating) |
protected PendingIntent |
getPendingIntent(JobRequest request,
int flags) |
protected long |
getTriggerAtMillis(JobRequest request) |
protected int |
getType(boolean wakeup) |
boolean |
isPlatformJobScheduled(JobRequest request) |
void |
plantOneOff(JobRequest request) |
protected void |
plantOneOffExact(JobRequest request,
AlarmManager alarmManager,
PendingIntent pendingIntent) |
protected void |
plantOneOffFlexSupport(JobRequest request,
AlarmManager alarmManager,
PendingIntent pendingIntent) |
protected void |
plantOneOffInexact(JobRequest request,
AlarmManager alarmManager,
PendingIntent pendingIntent) |
void |
plantPeriodic(JobRequest request) |
void |
plantPeriodicFlexSupport(JobRequest request) |
public JobProxy14(Context context)
public void plantOneOff(JobRequest request)
plantOneOff in interface JobProxyprotected void plantOneOffInexact(JobRequest request, AlarmManager alarmManager, PendingIntent pendingIntent)
protected void plantOneOffExact(JobRequest request, AlarmManager alarmManager, PendingIntent pendingIntent)
protected void plantOneOffFlexSupport(JobRequest request, AlarmManager alarmManager, PendingIntent pendingIntent)
protected long getTriggerAtMillis(JobRequest request)
protected int getType(boolean wakeup)
public void plantPeriodic(JobRequest request)
plantPeriodic in interface JobProxypublic void plantPeriodicFlexSupport(JobRequest request)
plantPeriodicFlexSupport in interface JobProxypublic boolean isPlatformJobScheduled(JobRequest request)
isPlatformJobScheduled in interface JobProxyprotected int createPendingIntentFlags(boolean repeating)
protected PendingIntent getPendingIntent(JobRequest request, boolean repeating)
protected PendingIntent getPendingIntent(JobRequest request, int flags)
protected PendingIntent getPendingIntent(int jobId, boolean exact, @Nullable Bundle transientExtras, int flags)
@Nullable protected AlarmManager getAlarmManager()