OneTimeWorkRequest.Builder

public static final class OneTimeWorkRequest.Builder
extends Builder<OneTimeWorkRequest.BuilderOneTimeWorkRequest>

java.lang.Object
   ↳ androidx.work.WorkRequest.Builder<androidx.work.OneTimeWorkRequest.Builderandroidx.work.OneTimeWorkRequest>
     ↳ androidx.work.OneTimeWorkRequest.Builder


Builder for OneTimeWorkRequests.

Summary

Public constructors

Builder(Class<? extends ListenableWorker> workerClass)

Creates a OneTimeWorkRequest.

Public methods

OneTimeWorkRequest.Builder setInputMerger(Class<? extends InputMerger> inputMerger)

Specifies the InputMerger class name for this OneTimeWorkRequest.

Inherited methods