TextMessage

public class TextMessage

Text Message

Text message, which will be stored and counted as unread messages.

Constructors

Link copied to clipboard
public void TextMessage(String content)
Constructor.
public void TextMessage(Array<byte> data)
public void TextMessage(Parcel in)
Constructor.

Properties

Link copied to clipboard
public String content
Text message content
Link copied to clipboard
public final static Creator<TextMessage> CREATOR
Retrieves an interface to construct an instance of a class that implements Parcelable from a Parcel.

Functions

Link copied to clipboard
public int describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object.
Link copied to clipboard
public Array<byte> encode()
Serializes the local message object into message data.
Link copied to clipboard
public String getContent()
Retrieves the content of the text message.
Link copied to clipboard
public List<String> getSearchableWord()
Link copied to clipboard
public static TextMessage obtain(String text)
Link copied to clipboard
public void setContent(String content)
Set the content of the text message.
Link copied to clipboard
public String toString()
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)
Writes the class's data into the provided Parcel.