public static class TheCard.Photo extends java.lang.Object implements java.io.Serializable, Mergeable
| Modifier and Type | Field and Description |
|---|---|
byte[] |
data |
java.lang.Integer |
height |
java.lang.String |
ref |
java.lang.Integer |
size |
java.lang.String |
type |
java.lang.Integer |
width |
| Constructor and Description |
|---|
Photo() |
Photo(byte[] bits,
java.lang.String type)
The main constructor.
|
Photo(java.lang.String ref,
java.lang.String type)
The main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TheCard.Photo |
copy()
Creates a copy of a photo instance.
|
boolean |
merge(Mergeable another) |
public byte[] data
public java.lang.String type
public java.lang.String ref
public java.lang.Integer width
public java.lang.Integer height
public java.lang.Integer size
public Photo()
public Photo(byte[] bits,
java.lang.String type)
bits - binary image datatype - the specific part of image/ mime type, i.e. 'jpeg' or 'png'.public Photo(java.lang.String ref,
java.lang.String type)
ref - Uri of the image.type - the specific part of image/ mime type, i.e. 'jpeg' or 'png'.public TheCard.Photo copy()