6 月 3 日の「#Android11: The Beta Launch Show」にぜひご参加ください。

Operation.State.FAILURE

public static final class Operation.State.FAILURE
extends Operation.State

java.lang.Object
   ↳ androidx.work.Operation.State
     ↳ androidx.work.Operation.State.FAILURE


This represents an Operation which has failed.

Summary

Public constructors

FAILURE(Throwable exception)

Public methods

Throwable getThrowable()
String toString()

Inherited methods

Public constructors

FAILURE

public FAILURE (Throwable exception)

Parameters
exception Throwable

Public methods

getThrowable

public Throwable getThrowable ()

Returns
Throwable The Throwable which caused the Operation to fail.

toString

public String toString ()

Returns
String