Add documentation on new API.
This commit is contained in:
parent
65db3d597a
commit
c75995f925
1 changed files with 7 additions and 0 deletions
|
|
@ -98,8 +98,15 @@ interface MatrixRoom : Closeable {
|
||||||
|
|
||||||
val syncUpdateFlow: StateFlow<Long>
|
val syncUpdateFlow: StateFlow<Long>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The live timeline of the room. Must be used to send Event to a room.
|
||||||
|
*/
|
||||||
val liveTimeline: Timeline
|
val liveTimeline: Timeline
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new timeline, focused on the provided Event.
|
||||||
|
* Should not be used directly, see `TimelineController` to manage the various timelines.
|
||||||
|
*/
|
||||||
suspend fun timelineFocusedOnEvent(eventId: EventId): Result<Timeline>
|
suspend fun timelineFocusedOnEvent(eventId: EventId): Result<Timeline>
|
||||||
|
|
||||||
fun destroy()
|
fun destroy()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue