public class NexmoImageRepresentation
extends java.lang.Object
NexmoAttachmentEvent is defined by 3 Image Representations: NexmoImageRepresentation.TYPE.ORIGINAL, NexmoImageRepresentation.TYPE.ORIGINAL and NexmoImageRepresentation.TYPE.THUMBNAIL.| Modifier and Type | Class and Description |
|---|---|
static class |
NexmoImageRepresentation.TYPE |
| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
NexmoImageRepresentation(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId() |
long |
getSize() |
NexmoImageRepresentation.TYPE |
getType() |
java.lang.String |
getUrl()
Get the
NexmoImageRepresentation url. |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public NexmoImageRepresentation.TYPE getType()
public java.lang.String getId()
public java.lang.String getUrl()
NexmoImageRepresentation url.
Download the image from this url using an http library of your own choosing.public long getSize()
public java.lang.String toString()
toString in class java.lang.Objectpublic int describeContents()
public void writeToParcel(Parcel dest,
int flags)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object