public class

ImageRequest

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.request.ImageRequest

Class Overview

Immutable object encapsulating everything pipeline has to know about requested image to proceed.

Summary

Nested Classes
enum ImageRequest.CacheChoice An enum describing the cache choice. 
enum ImageRequest.RequestLevel Level down to we are willing to go in order to find an image. 
Fields
public static final Fn<ImageRequest, Uri> REQUEST_TO_URI_FN
Protected Constructors
ImageRequest(ImageRequestBuilder builder)
Public Methods
boolean equals(Object o)
static ImageRequest fromFile(File file)
static ImageRequest fromUri(Uri uri)
static ImageRequest fromUri(String uriString)
boolean getAutoRotateEnabled()
This method is deprecated. Use getRotationOptions()
BytesRange getBytesRange()
ImageRequest.CacheChoice getCacheChoice()
int getDelayMs()
ImageDecodeOptions getImageDecodeOptions()
boolean getLocalThumbnailPreviewsEnabled()
ImageRequest.RequestLevel getLowestPermittedRequestLevel()
Postprocessor getPostprocessor()
int getPreferredHeight()
int getPreferredWidth()
Priority getPriority()
boolean getProgressiveRenderingEnabled()
RequestListener getRequestListener()
ResizeOptions getResizeOptions()
Boolean getResizingAllowedOverride()
RotationOptions getRotationOptions()
synchronized File getSourceFile()
Uri getSourceUri()
int getSourceUriType()
int hashCode()
boolean isDiskCacheEnabled()
boolean isMemoryCacheEnabled()
static void setCacheHashcode(boolean cacheHashcode)
static void setUseCachedHashcodeInEquals(boolean useCachedHashcodeInEquals)
Boolean shouldDecodePrefetches()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Fn<ImageRequest, Uri> REQUEST_TO_URI_FN

Protected Constructors

protected ImageRequest (ImageRequestBuilder builder)

Public Methods

public boolean equals (Object o)

public static ImageRequest fromFile (File file)

public static ImageRequest fromUri (Uri uri)

public static ImageRequest fromUri (String uriString)

public boolean getAutoRotateEnabled ()

This method is deprecated.
Use getRotationOptions()

public BytesRange getBytesRange ()

public ImageRequest.CacheChoice getCacheChoice ()

public int getDelayMs ()

public ImageDecodeOptions getImageDecodeOptions ()

public boolean getLocalThumbnailPreviewsEnabled ()

public ImageRequest.RequestLevel getLowestPermittedRequestLevel ()

public Postprocessor getPostprocessor ()

public int getPreferredHeight ()

public int getPreferredWidth ()

public Priority getPriority ()

public boolean getProgressiveRenderingEnabled ()

public RequestListener getRequestListener ()

public ResizeOptions getResizeOptions ()

public Boolean getResizingAllowedOverride ()

public RotationOptions getRotationOptions ()

public synchronized File getSourceFile ()

public Uri getSourceUri ()

public int getSourceUriType ()

public int hashCode ()

public boolean isDiskCacheEnabled ()

public boolean isMemoryCacheEnabled ()

public static void setCacheHashcode (boolean cacheHashcode)

public static void setUseCachedHashcodeInEquals (boolean useCachedHashcodeInEquals)

public Boolean shouldDecodePrefetches ()

public String toString ()