WorkerParameters

public final class WorkerParameters
extends Object

java.lang.Object
   ↳ androidx.work.WorkerParameters


Setup parameters for a ListenableWorker.

Summary

Public methods

UUID getId()

Gets the ID of the WorkRequest that created this ListenableWorker.

Data getInputData()

Gets the input data.

Network getNetwork()

Gets the Network to use for this Worker.

int getRunAttemptCount()

Gets the current run attempt count for this work.

Set<String> getTags()

Gets a Set of tags associated with this Worker's WorkRequest.

List<String> getTriggeredContentAuthorities()

Gets the list of content authorities that caused this Worker to execute.

List<Uri> getTriggeredContentUris()

Gets the list of content Uris that caused this Worker to execute.

Inherited methods

Public methods

getId

public UUID getId ()

Gets the ID of the WorkRequest that created this ListenableWorker.

</
Returns