Package io.rong.message
Class HistoryDividerMessage
-
- All Implemented Interfaces:
public class HistoryDividerMessage
-
-
Constructor Summary
Constructors Constructor Description HistoryDividerMessage(Array<byte> data)
HistoryDividerMessage(Parcel in)
-
Method Summary
Modifier and Type Method Description String
getContent()
Retrieves the content. void
setContent(String content)
Set content. static HistoryDividerMessage
obtain(String content)
Creates a message instance. Array<byte>
encode()
void
writeToParcel(Parcel dest, int flags)
Writes the class's data into the provided Parcel. int
describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object. -
-
Constructor Detail
-
HistoryDividerMessage
HistoryDividerMessage(Array<byte> data)
-
HistoryDividerMessage
HistoryDividerMessage(Parcel in)
-
-
Method Detail
-
getContent
String getContent()
Retrieves the content.
- Returns:
The content.
-
setContent
void setContent(String content)
Set content.
- Parameters:
content
- The content to be set.
-
obtain
static HistoryDividerMessage obtain(String content)
Creates a message instance.
- Parameters:
content
- The content of the message.- Returns:
The message instance.
-
writeToParcel
void 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, which can be 0 or PARCELABLE_WRITE_RETURN_VALUE.
-
describeContents
int 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 in the Parcelable object.
-
-
-
-