JobProxy.Common
Constructor and Description |
---|
JobProxyGcm(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(int jobId) |
protected int |
convertNetworkType(JobRequest.NetworkType networkType) |
protected String |
createTag(int jobId) |
protected String |
createTag(JobRequest request) |
boolean |
isPlatformJobScheduled(JobRequest request) |
void |
plantOneOff(JobRequest request) |
void |
plantPeriodic(JobRequest request) |
void |
plantPeriodicFlexSupport(JobRequest request) |
protected <T extends com.google.android.gms.gcm.Task.Builder> |
prepareBuilder(T builder,
JobRequest request) |
public JobProxyGcm(Context context)
public void plantOneOff(JobRequest request)
plantOneOff
in interface JobProxy
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 <T extends com.google.android.gms.gcm.Task.Builder> T prepareBuilder(T builder, JobRequest request)
protected String createTag(JobRequest request)
protected String createTag(int jobId)
protected int convertNetworkType(@NonNull JobRequest.NetworkType networkType)