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 StringgetTitle()Get the message title voidsetTitle(String title)Set Message Title StringgetDigest()Get summary information voidsetDigest(String digest)Set digest information StringgetImageUrl()Get the image URL of the message. voidsetImageUrl(String imageUrl)Sets the image URL for the message. StringgetUrl()Get the message URL voidsetUrl(String url)Set message URL voidwriteToParcel(Parcel dest, int flags)intdescribeContents()-
-
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()
-
-
-
-