Jeff Gaston | 5d65a6a | 2019-01-23 13:44:15 -0500 | [diff] [blame] | 1 | // Signature format: 3.0 |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 2 | package androidx.work { |
| 3 | |
Sumir Kataria | 8128bc1 | 2018-11-07 09:15:57 -0800 | [diff] [blame] | 4 | public abstract class CoroutineWorker extends androidx.work.ListenableWorker { |
| 5 | ctor public CoroutineWorker(android.content.Context appContext, androidx.work.WorkerParameters params); |
Jeff Gaston | 6edd4a4 | 2019-04-12 20:19:05 -0400 | [diff] [blame] | 6 | method public abstract suspend Object doWork(kotlin.coroutines.Continuation<? super androidx.work.ListenableWorker.Result> p); |
Rahul Ravikumar | 44b1e44 | 2019-04-05 15:21:22 -0700 | [diff] [blame] | 7 | method @Deprecated public kotlinx.coroutines.CoroutineDispatcher getCoroutineContext(); |
Sumir Kataria | 8128bc1 | 2018-11-07 09:15:57 -0800 | [diff] [blame] | 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); |
Sumir Kataria | b18241b | 2018-12-10 12:34:45 -0800 | [diff] [blame] | 11 | method public final com.google.common.util.concurrent.ListenableFuture<androidx.work.ListenableWorker.Result> startWork(); |
Rahul Ravikumar | 44b1e44 | 2019-04-05 15:21:22 -0700 | [diff] [blame] | 12 | property @Deprecated public kotlinx.coroutines.CoroutineDispatcher coroutineContext; |
Sumir Kataria | 8128bc1 | 2018-11-07 09:15:57 -0800 | [diff] [blame] | 13 | } |
| 14 | |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 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 | 5d65a6a | 2019-01-23 13:44:15 -0500 | [diff] [blame] | 18 | method public static inline androidx.work.Data workDataOf(kotlin.Pair<java.lang.String,?>... pairs); |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 19 | } |
| 20 | |
Rahul Ravikumar | a1a23e8 | 2018-11-20 17:12:08 -0800 | [diff] [blame] | 21 | public final class ListenableFutureKt { |
| 22 | ctor public ListenableFutureKt(); |
| 23 | } |
| 24 | |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 25 | public final class OneTimeWorkRequestKt { |
| 26 | ctor public OneTimeWorkRequestKt(); |
Jeff Gaston | 6edd4a4 | 2019-04-12 20:19:05 -0400 | [diff] [blame] | 27 | method public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.OneTimeWorkRequest.Builder OneTimeWorkRequestBuilder(); |
Jeff Gaston | 5d65a6a | 2019-01-23 13:44:15 -0500 | [diff] [blame] | 28 | method public static inline androidx.work.OneTimeWorkRequest.Builder setInputMerger(androidx.work.OneTimeWorkRequest.Builder, kotlin.reflect.KClass<? extends androidx.work.InputMerger> inputMerger); |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 29 | } |
| 30 | |
Rahul Ravikumar | a1a23e8 | 2018-11-20 17:12:08 -0800 | [diff] [blame] | 31 | public final class OperationKt { |
| 32 | ctor public OperationKt(); |
Jeff Gaston | 6edd4a4 | 2019-04-12 20:19:05 -0400 | [diff] [blame] | 33 | method public static suspend inline Object! await(androidx.work.Operation, kotlin.coroutines.Continuation<? super androidx.work.Operation.State.SUCCESS> p); |
Rahul Ravikumar | a1a23e8 | 2018-11-20 17:12:08 -0800 | [diff] [blame] | 34 | } |
| 35 | |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 36 | public final class PeriodicWorkRequestKt { |
| 37 | ctor public PeriodicWorkRequestKt(); |
Jeff Gaston | 6edd4a4 | 2019-04-12 20:19:05 -0400 | [diff] [blame] | 38 | method public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(long repeatInterval, java.util.concurrent.TimeUnit repeatIntervalTimeUnit); |
| 39 | method @RequiresApi(26) public static inline <reified W extends androidx.work.ListenableWorker> androidx.work.PeriodicWorkRequest.Builder PeriodicWorkRequestBuilder(java.time.Duration repeatInterval); |
| 40 | 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); |
| 41 | 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); |
Rahul Ravikumar | 2e3d563 | 2018-10-09 15:52:58 -0700 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | } |
| 45 | |