| Modifier and Type | Method and Description |
|---|---|
static Reaction |
buildFromSerializedData(byte[] data)
Builds
Reaction instance from serialized data generated by serialize(). |
static Reaction |
clone(Reaction reaction)
Clones and returns a new instance of given Reaction
|
int |
compareTo(Reaction reaction) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getKey()
Returns key.
|
long |
getUpdatedAt()
Returns message updated time.
|
java.util.List<java.lang.String> |
getUserIds()
Returns user ids.
|
int |
hashCode() |
byte[] |
serialize()
Serializes the
Reaction instance. |
java.lang.String |
toString() |
public static Reaction buildFromSerializedData(byte[] data)
Reaction instance from serialized data generated by serialize().data - Serialized Reaction data.Reaction instance.public byte[] serialize()
Reaction instance. This byte array can be stored in the database in your application.
The instance can be restored by buildFromSerializedData(byte[]).Reaction data.public java.lang.String getKey()
public long getUpdatedAt()
public java.util.List<java.lang.String> getUserIds()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Reaction reaction)
compareTo in interface java.lang.Comparable<Reaction> 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.