public class


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

Class Overview

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


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. 
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()
ImageDecodeOptions getImageDecodeOptions()
boolean getLocalThumbnailPreviewsEnabled()
ImageRequest.RequestLevel getLowestPermittedRequestLevel()
MediaVariations getMediaVariations()
Postprocessor getPostprocessor()
int getPreferredHeight()
int getPreferredWidth()
Priority getPriority()
boolean getProgressiveRenderingEnabled()
RequestListener getRequestListener()
ResizeOptions getResizeOptions()
RotationOptions getRotationOptions()
synchronized File getSourceFile()
Uri getSourceUri()
int getSourceUriType()
int hashCode()
boolean isDiskCacheEnabled()
String toString()
Inherited Methods
From class java.lang.Object

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 ImageDecodeOptions getImageDecodeOptions ()

public boolean getLocalThumbnailPreviewsEnabled ()

public ImageRequest.RequestLevel getLowestPermittedRequestLevel ()

public MediaVariations getMediaVariations ()

public Postprocessor getPostprocessor ()

public int getPreferredHeight ()

public int getPreferredWidth ()

public Priority getPriority ()

public boolean getProgressiveRenderingEnabled ()

public RequestListener getRequestListener ()

public ResizeOptions getResizeOptions ()

public RotationOptions getRotationOptions ()

public synchronized File getSourceFile ()

public Uri getSourceUri ()

public int getSourceUriType ()

public int hashCode ()

public boolean isDiskCacheEnabled ()

public String toString ()