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 JobProxy
protected 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 JobProxy
public void plantPeriodicFlexSupport(JobRequest request)
plantPeriodicFlexSupport
in interface JobProxy
public boolean isPlatformJobScheduled(JobRequest request)
isPlatformJobScheduled
in interface JobProxy
protected 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()