Stay organized with collections Save and categorize content based on your preferences.
public abstract class FetchPhotoResponse extends Object
implements Response

Response for FetchPhotoRequest.

Public Constructor Summary

Public Method Summary

abstract Bitmap
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.

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

public static FetchPhotoResponse newInstance (Bitmap bitmap)

bitmap The BitmapFactory returned by the response.