Package io.rong.message
        Class TextMessage
- 
                    
                    - All Implemented Interfaces:
 
 public class TextMessageText Message Text message, which will be stored and counted as unread messages. 
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description TextMessage(String content)Constructor. TextMessage(Array<byte> data)TextMessage(Parcel in)Constructor. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description StringgetContent()Retrieves the content of the text message. voidsetContent(String content)Set the content of the text message. static TextMessageobtain(String text)Array<byte>encode()Serializes the local message object into message data. voidwriteToParcel(Parcel dest, int flags)Writes the class's data into the provided Parcel. intdescribeContents()Describes the type of special objects included in the arrangement information of the Parcelable object. List<String>getSearchableWord()StringtoString()- 
                    
                    
                    - 
                                
                            
                                Constructor Detail- 
                                        TextMessageTextMessage(String content) Constructor.- Parameters:
- content- The content of the text message.
 
 - 
                                        TextMessageTextMessage(Array<byte> data) 
 - 
                                        TextMessageTextMessage(Parcel in) Constructor.- Parameters:
- in- The Parcel passed during initialization.
 
 
- 
                                        
 - 
                                
                            
                                Method Detail- 
                                        getContentString getContent() Retrieves the content of the text message. - Returns:
- The content of the text message. 
 
 - 
                                        setContentvoid setContent(String content) Set the content of the text message. - Parameters:
- content- The content of the text message.
 
 - 
                                        obtainstatic TextMessage obtain(String text) 
 - 
                                        encodeArray<byte> encode() Serializes the local message object into message data. - Returns:
- The message data. 
 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) Writes the class's 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, can be 0 or PARCELABLE_WRITE_RETURN_VALUE.
 
 - 
                                        describeContentsint describeContents() Describes the type of special objects included in the arrangement information of the Parcelable object. - Returns:
- A flag indicating the arrangement of the special object type collection of the Parcelable object. 
 
 - 
                                        getSearchableWordList<String> getSearchableWord() 
 - 
                                        toStringString toString() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-