Class MessageListItem.MessageItem
-
- All Implemented Interfaces:
public final class MessageListItem.MessageItem extends MessageListItem
Represent a message item in a MessageListView.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisTheirsprivate final Messagemessageprivate final List<MessagePosition>positionsprivate final BooleanisMineprivate final List<ChannelUserRead>messageReadByprivate final BooleanisThreadModeprivate final BooleanisMessageReadprivate final BooleanshowMessageFooter
-
Method Summary
Modifier and Type Method Description final BooleanisTheirs()final MessagegetMessage()The message that should be displayed in the message item. final List<MessagePosition>getPositions()The list of positions that should be displayed in the message item. final BooleanisMine()True if the message is sent by the current user, otherwise false. final List<ChannelUserRead>getMessageReadBy()The list of users that already read the message. final BooleanisThreadMode()True if the message is in a thread mode, otherwise false. final BooleanisMessageRead()True if the message has been read or not. final BooleangetShowMessageFooter()True if the message footer should be displayed, otherwise false. Stringstringify()-
-
Method Detail
-
getMessage
final Message getMessage()
The message that should be displayed in the message item.
-
getPositions
final List<MessagePosition> getPositions()
The list of positions that should be displayed in the message item.
-
getMessageReadBy
final List<ChannelUserRead> getMessageReadBy()
The list of users that already read the message.
-
isThreadMode
final Boolean isThreadMode()
True if the message is in a thread mode, otherwise false.
-
isMessageRead
final Boolean isMessageRead()
True if the message has been read or not.
-
getShowMessageFooter
final Boolean getShowMessageFooter()
True if the message footer should be displayed, otherwise false.
-
-
-
-