public interface IInAppMessageWithImage
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
getBitmap()
Gets the bitmap on this in-app message.
|
boolean |
getImageDownloadSuccessful()
Returns the status of the image download on this in-app message.
|
java.lang.String |
getImageUrl()
Gets the image url on this in-app message.
|
java.lang.String |
getLocalImageUrl()
Gets the local image url on this in-app message.
|
java.lang.String |
getRemoteImageUrl()
Gets the remote image url on this in-app message.
|
void |
setBitmap(android.graphics.Bitmap bitmap)
Explicitly sets the bitmap on this in-app message.
|
void |
setImageDownloadSuccessful(boolean imageDownloadSuccessful)
Sets the status of the image download on this in-app message.
|
void |
setImageUrl(java.lang.String imageUrl)
Deprecated.
Please call
setRemoteImageUrl(String) instead. |
void |
setLocalImageUrl(java.lang.String imageUrl)
Sets the image on this in-app message to a local uri.
|
void |
setRemoteImageUrl(java.lang.String imageUrl)
Sets the image on this in-app message to a remote uri.
|
java.lang.String getImageUrl()
getRemoteImageUrl()
.java.lang.String getRemoteImageUrl()
java.lang.String getLocalImageUrl()
android.graphics.Bitmap getBitmap()
setBitmap(android.graphics.Bitmap)
boolean getImageDownloadSuccessful()
getRemoteImageUrl()
could not be downloaded successfully then this should return false. Returns false by default.@Deprecated void setImageUrl(java.lang.String imageUrl)
setRemoteImageUrl(String)
instead.void setLocalImageUrl(java.lang.String imageUrl)
setRemoteImageUrl(String)
See setBitmap(android.graphics.Bitmap)
imageUrl
- Url for the desired image.void setImageDownloadSuccessful(boolean imageDownloadSuccessful)
getImageDownloadSuccessful()
.
See IInAppMessage#getImageDownloadSuccessful()
.imageDownloadSuccessful
- value for the success of the image downloadvoid setRemoteImageUrl(java.lang.String imageUrl)
setLocalImageUrl(String)
See setBitmap(android.graphics.Bitmap)
imageUrl
- Url for the desired image.void setBitmap(android.graphics.Bitmap bitmap)
setLocalImageUrl(String)
See setRemoteImageUrl(String)
bitmap
- An optimized bitmap image.