public class ThreadInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ThreadInfo |
buildFromSerializedData(byte[] data)
Builds
ThreadInfo instance from serialized data generated by serialize() . |
boolean |
equals(java.lang.Object o) |
long |
getLastRepliedAt()
The time that the last reply was created, in Unix milliseconds format.
|
java.util.List<User> |
getMostRepliedUsers()
Users who left a reply in the thread, based on the time the reply was added.
|
int |
getReplyCount()
The total number of replies in a specific thread.
|
int |
hashCode() |
byte[] |
serialize()
Serializes the
ThreadInfo instance. |
java.lang.String |
toString() |
public static ThreadInfo buildFromSerializedData(byte[] data)
ThreadInfo
instance from serialized data generated by serialize()
.data
- Serialized ThreadInfo
data.ThreadInfo
instance.public byte[] serialize()
ThreadInfo
instance.
This byte array can be stored in the database in your application.
The instance can be restored by buildFromSerializedData(byte[])
.ThreadInfo
data.public java.util.List<User> getMostRepliedUsers()
public long getLastRepliedAt()
public int getReplyCount()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.