java.io.Serializablepublic 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 | Description |
|---|---|---|
static class |
ImageResult.Response |
ImageResult.Response is a type system hack to enable API endpoints to return a
ImageResult. |
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
contentType |
The Content-Type header of the returned result.
|
byte[] |
imageData |
The image data from the Photos API call.
|
| Constructor | Description |
|---|---|
ImageResult(java.lang.String contentType,
byte[] imageData) |