public final class

ListenableWorker.Result.Retry

extends ListenableWorker.Result

 java.lang.Object

androidx.work.ListenableWorker.Result

↳androidx.work.ListenableWorker.Result.Retry

Overview

Used to indicate that the work encountered a transient failure and should be retried with backoff specified in WorkRequest.Builder.setBackoffCriteria(BackoffPolicy, long, TimeUnit).

Summary

Constructors
publicRetry()

Methods
public booleanequals(java.lang.Object o)

public abstract DatagetOutputData()

public inthashCode()

public java.lang.StringtoString()

from ListenableWorker.Resultfailure, failure, retry, success, success
from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructors

public Retry()

Methods

public boolean equals(java.lang.Object o)

public int hashCode()

public abstract Data getOutputData()

Returns:

The output Data which will be merged into the input Data of any OneTimeWorkRequest that is dependent on this work request.

public java.lang.String toString()