public class ImageResult
extends java.lang.Object
implements java.io.Serializable
ImageResult is the object returned from API end points that return images.| Modifier and Type | Class and Description |
|---|---|
static class |
ImageResult.Response
ImageResult.Response is a type system hack to enable API endpoints to return a
ImageResult. |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
contentType
The Content-Type header of the returned result.
|
byte[] |
imageData
The image data from the Photos API call.
|
| Constructor and Description |
|---|
ImageResult(java.lang.String contentType,
byte[] imageData) |