Package io.rong.message
Class RichContentItem
-
- All Implemented Interfaces:
public class RichContentItem
-
-
Constructor Summary
Constructors Constructor Description RichContentItem(JSONObject jsonObj)
RichContentItem(String jsonStr)
RichContentItem(Parcel in)
-
Method Summary
Modifier and Type Method Description String
getTitle()
Get the message title void
setTitle(String title)
Set Message Title String
getDigest()
Get summary information void
setDigest(String digest)
Set digest information String
getImageUrl()
Get the image URL of the message. void
setImageUrl(String imageUrl)
Sets the image URL for the message. String
getUrl()
Get the message URL void
setUrl(String url)
Set message URL void
writeToParcel(Parcel dest, int flags)
int
describeContents()
-
-
Method Detail
-
getTitle
String getTitle()
Get the message title
- Returns:
The message title
-
setTitle
void setTitle(String title)
Set Message Title
- Parameters:
title
- The title of the message
-
getDigest
String getDigest()
Get summary information
- Returns:
Summary information
-
setDigest
void setDigest(String digest)
Set digest information
- Parameters:
digest
- Digest information
-
getImageUrl
String getImageUrl()
Get the image URL of the message.
- Returns:
The image URL
-
setImageUrl
void setImageUrl(String imageUrl)
Sets the image URL for the message.
- Parameters:
imageUrl
- The URL of the image
-
getUrl
String getUrl()
Get the message URL
- Returns:
The message URL
-
setUrl
void setUrl(String url)
Set message URL
- Parameters:
url
- The message URL
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-