Class JoinedRoom
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.sync.JoinedRoom
-
public class JoinedRoom extends Object
Joined room.
-
-
Field Summary
Fields Modifier and Type Field Description private AccountDataaccountDataThe private data that this user has attached to this room.private EphemeralephemeralThe ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.private StatestateUpdates to the state, between the time indicated by the since parameter, and the start of the timeline (or all state up to the start of the timeline, if since is not given, or full_state is true).private RoomSummarysummaryInformation about the room which clients may need to correctly render it to users.private TimelinetimelineThe timeline of messages and state changes in the room.private UnreadNotificationCountsunreadNotificationsCounts of unread notifications for this room.
-
Constructor Summary
Constructors Constructor Description JoinedRoom()
-
Method Summary
Modifier and Type Method Description AccountDatagetAccountData()EphemeralgetEphemeral()StategetState()RoomSummarygetSummary()TimelinegetTimeline()UnreadNotificationCountsgetUnreadNotifications()voidsetAccountData(AccountData accountData)voidsetEphemeral(Ephemeral ephemeral)voidsetState(State state)voidsetSummary(RoomSummary summary)voidsetTimeline(Timeline timeline)voidsetUnreadNotifications(UnreadNotificationCounts unreadNotifications)
-
-
-
Field Detail
-
summary
private RoomSummary summary
Information about the room which clients may need to correctly render it to users.
-
state
private State state
Updates to the state, between the time indicated by the since parameter, and the start of the timeline (or all state up to the start of the timeline, if since is not given, or full_state is true).
-
timeline
private Timeline timeline
The timeline of messages and state changes in the room.
-
ephemeral
private Ephemeral ephemeral
The ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.
-
accountData
private AccountData accountData
The private data that this user has attached to this room.
-
unreadNotifications
private UnreadNotificationCounts unreadNotifications
Counts of unread notifications for this room.
-
-
Method Detail
-
getSummary
public RoomSummary getSummary()
-
setSummary
public void setSummary(RoomSummary summary)
-
getState
public State getState()
-
setState
public void setState(State state)
-
getTimeline
public Timeline getTimeline()
-
setTimeline
public void setTimeline(Timeline timeline)
-
getEphemeral
public Ephemeral getEphemeral()
-
setEphemeral
public void setEphemeral(Ephemeral ephemeral)
-
getAccountData
public AccountData getAccountData()
-
setAccountData
public void setAccountData(AccountData accountData)
-
getUnreadNotifications
public UnreadNotificationCounts getUnreadNotifications()
-
setUnreadNotifications
public void setUnreadNotifications(UnreadNotificationCounts unreadNotifications)
-
-