public final class

ImageRequestOptions

extends Object
java.lang.Object
   ↳ com.urbanairship.images.ImageRequestOptions

Class Overview

Image request options.

Summary

Nested Classes
class ImageRequestOptions.Builder Image request option builder. 
Public Methods
ImageLoader.ImageLoadedCallback getCallback()
Gets the ImageLoader.ImageLoadedCallback, if one was set.
int getPlaceHolder()
Gets the place holder.
String getUrl()
Gets the image URL.
int getZeroHeightFallback()
Gets the fallback height to be used if the ImageView has a height of zero during image loading.
int getZeroWidthFallback()
Gets the fallback width to be used if the ImageView has a width of zero during image loading.
static ImageRequestOptions.Builder newBuilder(String url)
Creates a new builder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public ImageLoader.ImageLoadedCallback getCallback ()

Gets the ImageLoader.ImageLoadedCallback, if one was set.

public int getPlaceHolder ()

Gets the place holder.

Returns
  • The place holder.

public String getUrl ()

Gets the image URL.

Returns
  • The image URL.

public int getZeroHeightFallback ()

Gets the fallback height to be used if the ImageView has a height of zero during image loading.

Returns
  • The fallback height.

public int getZeroWidthFallback ()

Gets the fallback width to be used if the ImageView has a width of zero during image loading.

Returns
  • The fallback width.

public static ImageRequestOptions.Builder newBuilder (String url)

Creates a new builder.

Parameters
url The image URL.
Returns
  • The builder.