.class public abstract Landroidx/work/WorkManager; .super Ljava/lang/Object; .source "WorkManager.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/work/WorkManager$UpdateResult; } .end annotation # direct methods .method protected constructor ()V .locals 0 .line 704 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getInstance()Landroidx/work/WorkManager; .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 163 invoke-static {}, Landroidx/work/impl/WorkManagerImpl;->getInstance()Landroidx/work/impl/WorkManagerImpl; move-result-object v0 if-eqz v0, :cond_0 return-object v0 .line 165 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "WorkManager is not initialized properly. The most likely cause is that you disabled WorkManagerInitializer in your manifest but forgot to call WorkManager#initialize in your Application#onCreate or a ContentProvider." invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method .method public static getInstance(Landroid/content/Context;)Landroidx/work/WorkManager; .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "context" } .end annotation .line 184 invoke-static {p0}, Landroidx/work/impl/WorkManagerImpl;->getInstance(Landroid/content/Context;)Landroidx/work/impl/WorkManagerImpl; move-result-object p0 return-object p0 .end method .method public static initialize(Landroid/content/Context;Landroidx/work/Configuration;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0 } names = { "context", "configuration" } .end annotation .line 210 invoke-static {p0, p1}, Landroidx/work/impl/WorkManagerImpl;->initialize(Landroid/content/Context;Landroidx/work/Configuration;)V return-void .end method .method public static isInitialized()Z .locals 1 .line 219 invoke-static {}, Landroidx/work/impl/WorkManagerImpl;->isInitialized()Z move-result v0 return v0 .end method # virtual methods .method public final beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Landroidx/work/OneTimeWorkRequest;)Landroidx/work/WorkContinuation; .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "uniqueWorkName", "existingWorkPolicy", "work" } .end annotation .line 309 invoke-static {p3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p3 invoke-virtual {p0, p1, p2, p3}, Landroidx/work/WorkManager;->beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/WorkContinuation; move-result-object p0 return-object p0 .end method .method public abstract beginUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/WorkContinuation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "uniqueWorkName", "existingWorkPolicy", "work" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Landroidx/work/ExistingWorkPolicy;", "Ljava/util/List<", "Landroidx/work/OneTimeWorkRequest;", ">;)", "Landroidx/work/WorkContinuation;" } .end annotation .end method .method public final beginWith(Landroidx/work/OneTimeWorkRequest;)Landroidx/work/WorkContinuation; .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "work" } .end annotation .line 262 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1}, Landroidx/work/WorkManager;->beginWith(Ljava/util/List;)Landroidx/work/WorkContinuation; move-result-object p0 return-object p0 .end method .method public abstract beginWith(Ljava/util/List;)Landroidx/work/WorkContinuation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "work" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Landroidx/work/OneTimeWorkRequest;", ">;)", "Landroidx/work/WorkContinuation;" } .end annotation .end method .method public abstract cancelAllWork()Landroidx/work/Operation; .end method .method public abstract cancelAllWorkByTag(Ljava/lang/String;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "tag" } .end annotation .end method .method public abstract cancelUniqueWork(Ljava/lang/String;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "uniqueWorkName" } .end annotation .end method .method public abstract cancelWorkById(Ljava/util/UUID;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "id" } .end annotation .end method .method public abstract createCancelPendingIntent(Ljava/util/UUID;)Landroid/app/PendingIntent; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "id" } .end annotation .end method .method public final enqueue(Landroidx/work/WorkRequest;)Landroidx/work/Operation; .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "workRequest" } .end annotation .line 238 invoke-static {p1}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p1 invoke-virtual {p0, p1}, Landroidx/work/WorkManager;->enqueue(Ljava/util/List;)Landroidx/work/Operation; move-result-object p0 return-object p0 .end method .method public abstract enqueue(Ljava/util/List;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "requests" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Landroidx/work/WorkRequest;", ">;)", "Landroidx/work/Operation;" } .end annotation .end method .method public abstract enqueueUniquePeriodicWork(Ljava/lang/String;Landroidx/work/ExistingPeriodicWorkPolicy;Landroidx/work/PeriodicWorkRequest;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "uniqueWorkName", "existingPeriodicWorkPolicy", "periodicWork" } .end annotation .end method .method public enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Landroidx/work/OneTimeWorkRequest;)Landroidx/work/Operation; .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "uniqueWorkName", "existingWorkPolicy", "work" } .end annotation .line 371 invoke-static {p3}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; move-result-object p3 .line 368 invoke-virtual {p0, p1, p2, p3}, Landroidx/work/WorkManager;->enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/Operation; move-result-object p0 return-object p0 .end method .method public abstract enqueueUniqueWork(Ljava/lang/String;Landroidx/work/ExistingWorkPolicy;Ljava/util/List;)Landroidx/work/Operation; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "uniqueWorkName", "existingWorkPolicy", "work" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Landroidx/work/ExistingWorkPolicy;", "Ljava/util/List<", "Landroidx/work/OneTimeWorkRequest;", ">;)", "Landroidx/work/Operation;" } .end annotation .end method .method public abstract getConfiguration()Landroidx/work/Configuration; .end method .method public abstract getLastCancelAllTimeMillis()Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/util/concurrent/ListenableFuture<", "Ljava/lang/Long;", ">;" } .end annotation .end method .method public abstract getLastCancelAllTimeMillisLiveData()Landroidx/lifecycle/LiveData; .annotation system Ldalvik/annotation/Signature; value = { "()", "Landroidx/lifecycle/LiveData<", "Ljava/lang/Long;", ">;" } .end annotation .end method .method public abstract getWorkInfoById(Ljava/util/UUID;)Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "id" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/UUID;", ")", "Lcom/google/common/util/concurrent/ListenableFuture<", "Landroidx/work/WorkInfo;", ">;" } .end annotation .end method .method public abstract getWorkInfoByIdFlow(Ljava/util/UUID;)Lkotlinx/coroutines/flow/Flow; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "id" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/UUID;", ")", "Lkotlinx/coroutines/flow/Flow<", "Landroidx/work/WorkInfo;", ">;" } .end annotation .end method .method public abstract getWorkInfoByIdLiveData(Ljava/util/UUID;)Landroidx/lifecycle/LiveData; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "id" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/UUID;", ")", "Landroidx/lifecycle/LiveData<", "Landroidx/work/WorkInfo;", ">;" } .end annotation .end method .method public abstract getWorkInfos(Landroidx/work/WorkQuery;)Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "workQuery" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/work/WorkQuery;", ")", "Lcom/google/common/util/concurrent/ListenableFuture<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosByTag(Ljava/lang/String;)Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "tag" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Lcom/google/common/util/concurrent/ListenableFuture<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosByTagFlow(Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "tag" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Lkotlinx/coroutines/flow/Flow<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosByTagLiveData(Ljava/lang/String;)Landroidx/lifecycle/LiveData; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "tag" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Landroidx/lifecycle/LiveData<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosFlow(Landroidx/work/WorkQuery;)Lkotlinx/coroutines/flow/Flow; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "workQuery" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/work/WorkQuery;", ")", "Lkotlinx/coroutines/flow/Flow<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosForUniqueWork(Ljava/lang/String;)Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "uniqueWorkName" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Lcom/google/common/util/concurrent/ListenableFuture<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosForUniqueWorkFlow(Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "uniqueWorkName" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Lkotlinx/coroutines/flow/Flow<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosForUniqueWorkLiveData(Ljava/lang/String;)Landroidx/lifecycle/LiveData; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "uniqueWorkName" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", ")", "Landroidx/lifecycle/LiveData<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract getWorkInfosLiveData(Landroidx/work/WorkQuery;)Landroidx/lifecycle/LiveData; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "workQuery" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/work/WorkQuery;", ")", "Landroidx/lifecycle/LiveData<", "Ljava/util/List<", "Landroidx/work/WorkInfo;", ">;>;" } .end annotation .end method .method public abstract pruneWork()Landroidx/work/Operation; .end method .method public abstract updateWork(Landroidx/work/WorkRequest;)Lcom/google/common/util/concurrent/ListenableFuture; .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "request" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroidx/work/WorkRequest;", ")", "Lcom/google/common/util/concurrent/ListenableFuture<", "Landroidx/work/WorkManager$UpdateResult;", ">;" } .end annotation .end method