Jeff Gaston | 79285e9 | 2019-02-13 15:26:16 -0500 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.work { |
| 3 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 4 | public abstract class CoroutineWorker extends androidx.work.ListenableWorker { |
| 5 | ctor public CoroutineWorker(android.content.Context appContext, androidx.work.WorkerParameters params); |
| 6 | method public abstract suspend Object doWork(kotlin.coroutines.Continuation<? super androidx.work.ListenableWorker.Result> p); |
| 7 | method @Deprecated public kotlinx.coroutines.CoroutineDispatcher getCoroutineContext(); |
| 8 | method public final void onStopped(); |
Rahul Ravikumar | 3ceb16d | 2019-10-03 17:20:59 -0700 | [diff] [blame] | 9 | method public final suspend Object! setForeground(androidx.work.ForegroundInfo foregroundInfo, kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
Rahul Ravikumar | f9b0e2a | 2019-07-22 15:22:24 -0700 | [diff] [blame] | 10 | method public final suspend Object! setProgress(androidx.work.Data data, kotlin.coroutines.Continuation<? super kotlin.Unit> p); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 11 | method public final com.google.common.util.concurrent.ListenableFuture<androidx.work.ListenableWorker.Result> startWork(); |
| 12 | property @Deprecated public kotlinx.coroutines.CoroutineDispatcher coroutineContext; |
| 13 | } |
| 14 | |
| 15 | public final class DataKt { |
| 16 | ctor public DataKt(); |
Rahul Ravikumar | 3efec66 | 2019-10-01 10:13:26 -0700 | [diff] [blame] | 17 | method public static inline <reified T> boolean hasKeyWithValueOfType(androidx.work.Data, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 18 | method public static inline androidx.work.Data workDataOf(kotlin.Pair<java.lang.String,?>... pairs); |
| 19 | } |
| 20 | |
Jeff Gaston | 6edd4a4 | 2019-04-12 20:19:05 -0400 | [diff] [blame] | 21 | @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public enum DirectExecutor implements java.util.concurrent.Executor { |
Jeff Gaston | 79285e9 | 2019-02-13 15:26:16 -0500 | [diff] [blame] | 22 | method public void execute(Runnable command); |
| 23 | enum_constant public static final androidx.work.DirectExecutor INSTANCE; |
| 24 | } |
| 25 | |
Dustin Lam | 60c7905 | 2019-11-01 13:43:57 -0700 | [diff] [blame^] | 26 | public final class ListenableFutureKt { |
| 27 | ctor public ListenableFutureKt(); |
| 28 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public static suspend inline <R> Object! await(com.google.common.util.concurrent.ListenableFuture<R>, kotlin.coroutines.Continuation<? super R> p); |
| 29 | } |
| 30 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 31 | public final class OneTimeWorkRequestKt { |
| 32 | ctor public OneTimeWorkRequestKt(); |
| 33 | method public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.OneTimeWorkRequest.Builder OneTimeWorkRequestBuilder(); |
| 34 | method public static inline androidx.work.OneTimeWorkRequest.Builder setInputMerger(androidx.work.OneTimeWorkRequest.Builder, kotlin.reflect.KClass<? extends androidx.work.InputMerger> inputMerger); |
| 35 | } |
| 36 | |
| 37 | public final class OperationKt { |
| 38 | ctor public OperationKt(); |
| 39 | method public static suspend inline Object! await(androidx.work.Operation, kotlin.coroutines.Continuation<? super androidx.work.Operation.State.SUCCESS> p); |
| 40 | } |
| 41 | |
| 42 | public final class PeriodicWorkRequestKt { |
| 43 | ctor public PeriodicWorkRequestKt(); |
| 44 | method public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(long repeatInterval, java.util.concurrent.TimeUnit repeatIntervalTimeUnit); |
| 45 | method @RequiresApi(26) public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(java.time.Duration repeatInterval); |
| 46 | method public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(long repeatInterval, java.util.concurrent.TimeUnit repeatIntervalTimeUnit, long flexTimeInterval, java.util.concurrent.TimeUnit flexTimeIntervalUnit); |
| 47 | method @RequiresApi(26) public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(java.time.Duration repeatInterval, java.time.Duration flexTimeInterval); |
| 48 | } |
| 49 | |
Jeff Gaston | 79285e9 | 2019-02-13 15:26:16 -0500 | [diff] [blame] | 50 | } |
| 51 | |