Chat SDK for Android v1.2.1
agora java chat SDK
|
Inherits io.agora.chat.EMBase< T >.
Public Member Functions | |
String | getReaction () |
int | getUserCount () |
List< String > | getUserList () |
boolean | isAddedBySelf () |
The message Reaction instance class, which has the following attributes:
Reaction: The message Reaction. UserCount: The count of users that added the Reaction. UserList: The list of users that added the Reaction. isAddedBySelf: Whether the current user added this Reaction.
String io.agora.chat.MessageReaction.getReaction | ( | ) |
Gets the Reaction.
int io.agora.chat.MessageReaction.getUserCount | ( | ) |
Gets the count of users that added this Reaction.
List< String > io.agora.chat.MessageReaction.getUserList | ( | ) |
Gets the list of users that added this Reaction.
Note getReactionDetail(ChatManager) can return the entire list of users that added this Reaction with pagination, whereas other methods such as getMessageReaction(ChatMessage), getReactionList(ChatManager), and onReactionChanged(MessageListener) can only return the first three users.
boolean io.agora.chat.MessageReaction.isAddedBySelf | ( | ) |
Gets whether the current user has added the Reaction.
true
: Yes.false
: No.