com.nostra13.universalimageloader.core.decode
Class ImageDecodingInfo
java.lang.Object
com.nostra13.universalimageloader.core.decode.ImageDecodingInfo
public class ImageDecodingInfo
- extends Object
Contains needed information for decoding image to Bitmap
- Since:
- 1.8.3
- Author:
- Sergey Tarasevich (nostra13[at]gmail[dot]com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageDecodingInfo
public ImageDecodingInfo(String imageKey,
String imageUri,
String originalImageUri,
ImageSize targetSize,
ViewScaleType viewScaleType,
ImageDownloader downloader,
DisplayImageOptions displayOptions)
getImageKey
public String getImageKey()
- Returns:
- Original image key (used in memory cache).
getImageUri
public String getImageUri()
- Returns:
- Image URI for decoding (usually image from disk cache)
getOriginalImageUri
public String getOriginalImageUri()
- Returns:
- The original image URI which was passed to ImageLoader
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 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-2014. All Rights Reserved.