FetchPhotoResponse

public abstract class FetchPhotoResponse extends Object
implements Response

Response for FetchPhotoRequest.

Public Constructor Summary

Public Method Summary

abstract Bitmap
getBitmap()
Returns the requested image data.
static FetchPhotoResponse

Inherited Method Summary

Public Constructors

public FetchPhotoResponse ()

Public Methods

public abstract Bitmap getBitmap ()

Returns the requested image data.

Returns
  • The image data or null if the request was not successful.

public static FetchPhotoResponse newInstance (Bitmap bitmap)

Parameters
bitmap The BitmapFactory returned by the response.