Lines Matching defs:PeriodicWorkRequest

29 public final class PeriodicWorkRequest extends WorkRequest {
32 * The minimum interval duration for {@link PeriodicWorkRequest} (in milliseconds).
36 * The minimum flex duration for {@link PeriodicWorkRequest} (in milliseconds).
40 PeriodicWorkRequest(Builder builder) {
45 * Builder for {@link PeriodicWorkRequest} class.
47 public static final class Builder extends WorkRequest.Builder<Builder, PeriodicWorkRequest> {
50 * Creates a {@link PeriodicWorkRequest} to run periodically once every interval period. The
51 * {@link PeriodicWorkRequest} is guaranteed to run exactly one time during this interval
53 * be greater than or equal to {@link PeriodicWorkRequest#MIN_PERIODIC_INTERVAL_MILLIS}. It
56 * {@link PeriodicWorkRequest} can be restricted to a flex period within an interval.
71 * Creates a {@link PeriodicWorkRequest} to run periodically once every interval period. The
72 * {@link PeriodicWorkRequest} is guaranteed to run exactly one time during this interval
74 * be greater than or equal to {@link PeriodicWorkRequest#MIN_PERIODIC_INTERVAL_MILLIS}. It
77 * {@link PeriodicWorkRequest} can be restricted to a flex period within an interval.
91 * Creates a {@link PeriodicWorkRequest} to run periodically once within the
95 * {@link PeriodicWorkRequest#MIN_PERIODIC_INTERVAL_MILLIS} and {@code flexMillis} must
96 * be greater than or equal to {@link PeriodicWorkRequest#MIN_PERIODIC_FLEX_MILLIS}.
125 * Creates a {@link PeriodicWorkRequest} to run periodically once within the
129 * {@link PeriodicWorkRequest#MIN_PERIODIC_INTERVAL_MILLIS} and {@code flexMillis} must
130 * be greater than or equal to {@link PeriodicWorkRequest#MIN_PERIODIC_FLEX_MILLIS}.
154 public PeriodicWorkRequest build() {
161 return new PeriodicWorkRequest(this);