InputMerger

abstract class InputMerger
kotlin.Any
   ↳ androidx.work.InputMerger

An abstract class that allows the user to define how to merge a list of inputs to a Worker.

Summary

Public constructors

Public methods
abstract Data
merge(inputs: MutableList<Data!>)

Merges a list of Data and outputs a single Data object.

Public constructors

<init>

InputMerger()

Public methods

merge

abstract fun merge(inputs: MutableList<Data!>): Data

Merges a list of Data and outputs a single Data object.

Parameters
inputs MutableList<Data!>: A list of Data from previous Workers or the WorkRequest.Builder
Return
Data: The merged output