com.nostra13.universalimageloader.core.decode
Class ImageDecodingInfo

java.lang.Object
  extended by com.nostra13.universalimageloader.core.decode.ImageDecodingInfo

public class ImageDecodingInfo
extends java.lang.Object

Contains needed information for decoding image to Bitmap

Since:
1.8.3
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Constructor Summary
ImageDecodingInfo(java.lang.String imageKey, java.lang.String imageUri, ImageSize targetSize, ViewScaleType viewScaleType, ImageDownloader downloader, DisplayImageOptions displayOptions)
           
 
Method Summary
 android.graphics.BitmapFactory.Options getDecodingOptions()
           
 ImageDownloader getDownloader()
           
 java.lang.Object getExtraForDownloader()
           
 java.lang.String getImageKey()
           
 ImageScaleType getImageScaleType()
           
 java.lang.String getImageUri()
           
 ImageSize getTargetSize()
           
 ViewScaleType getViewScaleType()
           
 boolean shouldConsiderExifParams()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDecodingInfo

public ImageDecodingInfo(java.lang.String imageKey,
                         java.lang.String imageUri,
                         ImageSize targetSize,
                         ViewScaleType viewScaleType,
                         ImageDownloader downloader,
                         DisplayImageOptions displayOptions)
Method Detail

getImageKey

public java.lang.String getImageKey()
Returns:
Original image key (used in memory cache).

getImageUri

public java.lang.String getImageUri()
Returns:
Image URI for decoding (usually image from disc cache)

getTargetSize

public ImageSize getTargetSize()
Returns:
Target size for image. Decoded bitmap should close to this size according to image scale type and view scale type.

getImageScaleType

public ImageScaleType getImageScaleType()
Returns:
Scale type for image sampling and scaling. This parameter affects result size of decoded bitmap.

getViewScaleType

public ViewScaleType getViewScaleType()
Returns:
View scale type. This parameter affects result size of decoded bitmap.

getDownloader

public ImageDownloader getDownloader()
Returns:
Downloader for image loading

getExtraForDownloader

public java.lang.Object getExtraForDownloader()
Returns:
Auxiliary object for downloader

shouldConsiderExifParams

public boolean shouldConsiderExifParams()
Returns:
true - if EXIF params of image should be considered; false - otherwise

getDecodingOptions

public android.graphics.BitmapFactory.Options getDecodingOptions()
Returns:
Decoding options


Copyright © 2011-2013. All Rights Reserved.