| java.lang.Object | |
| ↳ | com.nexmo.sdk.conversation.client.ImageRepresentation |
Each image representation can be defined by type: ImageRepresentation.TYPE.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | ImageRepresentation.TYPE | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Creator<ImageRepresentation> | CREATOR | ||||||||||
| public ImageRepresentation.TYPE | type | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ImageRepresentation(ImageRepresentation.TYPE type, String id, String url, long size, String localFilePath) | |||||||||||
| ImageRepresentation(Parcel in) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | describeContents() | ||||||||||
| boolean | equals(Object o) | ||||||||||
| Bitmap |
getBitmap()
If image representation was downloaded, the bitmap can be used to update UI.
| ||||||||||
| String | getLocalFilePath() | ||||||||||
| long | getSize() | ||||||||||
| String |
getUrl()
Get the Image representation url.
| ||||||||||
| int | hashCode() | ||||||||||
| String | toString() | ||||||||||
| void | writeToParcel(Parcel dest, int flags) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
If image representation was downloaded, the bitmap can be used to update UI.
Get the Image representation url.
Image can be downloaded explicitly via
download(TYPE, RequestHandler) that uses okhttp3 library under the hood.ipsHeaders()