public interface JobParameters
| Modifier and Type | Method and Description |
|---|---|
int[] |
getConstraints()
The runtime constraints applied to this Job.
|
android.os.Bundle |
getExtras()
The optional set of user-supplied extras associated with this Job.
|
int |
getLifetime()
The Job's lifetime; how long it should persist for.
|
RetryStrategy |
getRetryStrategy()
The RetryStrategy for the Job.
|
java.lang.String |
getService()
Returns the name of the backing JobService class.
|
java.lang.String |
getTag()
Returns a string identifier for the Job.
|
JobTrigger |
getTrigger()
The Job's Trigger, which decides when the Job is ready to run.
|
boolean |
isRecurring()
Whether the Job should repeat.
|
boolean |
shouldReplaceCurrent()
Whether the Job should replace a pre-existing Job with the same tag.
|
@NonNull java.lang.String getService()
@NonNull java.lang.String getTag()
@NonNull JobTrigger getTrigger()
int getLifetime()
boolean isRecurring()
int[] getConstraints()
@Nullable android.os.Bundle getExtras()
@NonNull RetryStrategy getRetryStrategy()
boolean shouldReplaceCurrent()