Class RichContentMessage
- 
                    
                    - All Implemented Interfaces:
 
 public class RichContentMessageImageTextMessage Class Represents an image-text message. This type of message is stored and counted in the unread message count. 
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description RichContentMessage()Constructor. RichContentMessage(String title, String content, String imageUrl)Constructor. RichContentMessage(String title, String content, String imageUrl, String url)Constructor. RichContentMessage(Array<byte> data)Constructor. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description StringgetTitle()Retrieves the message title. voidsetTitle(String title)Sets the message title. StringgetContent()Retrieves the message body. voidsetContent(String content)Sets the message body. StringgetImgUrl()Fetches the image URL of the message. voidsetImgUrl(String url)Set the image URL for the message. StringgetUrl()Retrieves the message URL. voidsetUrl(String url)Sets the message URL. static RichContentMessageobtain(String title, String content, String imageUrl)Generates a RichContentMessage object. static RichContentMessageobtain(String title, String content, String imageUrl, String url)Generates a RichContentMessage object. Array<byte>encode()Serializes the local message object into message data. voidwriteToParcel(Parcel dest, int flags)Writes the class data into the provided Parcel. intdescribeContents()Describes the type of special objects included in the Parcelable object arrangement information. List<String>getSearchableWord()- 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        RichContentMessageRichContentMessage() Constructor.
 - 
                                        RichContentMessageRichContentMessage(String title, String content, String imageUrl) Constructor.- Parameters:
- title- Specifies the message title.
- content- Specifies the message content.
- imageUrl- Specifies the URL of the message image.
 
 - 
                                        RichContentMessageRichContentMessage(String title, String content, String imageUrl, String url) Constructor.- Parameters:
- title- The message title.
- content- The message content.
- imageUrl- The URL of the message image.
- url- The message URL.
 
 - 
                                        RichContentMessageRichContentMessage(Array<byte> data) Constructor.- Parameters:
- data- Byte array containing the JSON string.
 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        getTitleString getTitle() Retrieves the message title. - Returns:
- The message title 
 
 - 
                                        setTitlevoid setTitle(String title) Sets the message title. - Parameters:
- title- The message title
 
 - 
                                        getContentString getContent() Retrieves the message body. - Returns:
- The message content 
 
 - 
                                        setContentvoid setContent(String content) Sets the message body. - Parameters:
- content- The message content
 
 - 
                                        getImgUrlString getImgUrl() Fetches the image URL of the message. - Returns:
- The URL of the image 
 
 - 
                                        setImgUrlvoid setImgUrl(String url) Set the image URL for the message. - Parameters:
- url- The URL of the image
 
 - 
                                        getUrlString getUrl() Retrieves the message URL. - Returns:
- The message URL 
 
 - 
                                        setUrlvoid setUrl(String url) Sets the message URL. - Parameters:
- url- The message URL
 
 - 
                                        obtainstatic RichContentMessage obtain(String title, String content, String imageUrl) Generates a RichContentMessage object. - Parameters:
- title- The title of the message.
- content- The content of the message.
- imageUrl- The URL of the message image.
- Returns:
- Returns the generated RichContentMessage object. 
 
 - 
                                        obtainstatic RichContentMessage obtain(String title, String content, String imageUrl, String url) Generates a RichContentMessage object. - Parameters:
- title- The title of the message.
- content- The content of the message.
- imageUrl- The URL of the message image.
- url- The URL of the message.
- Returns:
- Returns a RichContentMessage object. 
 
 - 
                                        encodeArray<byte> encode() Serializes the local message object into message data. - Returns:
- The message data. 
 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) Writes the class data into the provided Parcel. - Parameters:
- dest- The Parcel into which the object is written.
- flags- Additional flags about how the object should be written, possibly 0 or PARCELABLE_WRITE_RETURN_VALUE.
 
 - 
                                        describeContentsint describeContents() Describes the type of special objects included in the Parcelable object arrangement information. - Returns:
- A flag indicating the arrangement of the Parcelable object's special object type collection. 
 
 - 
                                        getSearchableWordList<String> getSearchableWord() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-