-
public final class ErrorResult extends ImageResult
Indicates that an error occurred while executing the request.
-
-
Constructor Summary
Constructors Constructor Description ErrorResult(Drawable drawable, ImageRequest request, Throwable throwable)
-
Method Summary
Modifier and Type Method Description DrawablegetDrawable()The error drawable. ImageRequestgetRequest()The request that was executed to create this result. final ThrowablegetThrowable()The error that failed the request. final ErrorResultcopy(Drawable drawable, ImageRequest request, Throwable throwable)Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
ErrorResult
ErrorResult(Drawable drawable, ImageRequest request, Throwable throwable)
-
-
Method Detail
-
getDrawable
Drawable getDrawable()
The error drawable.
-
getRequest
ImageRequest getRequest()
The request that was executed to create this result.
-
getThrowable
final Throwable getThrowable()
The error that failed the request.
-
copy
final ErrorResult copy(Drawable drawable, ImageRequest request, Throwable throwable)
-
-
-
-