Media Gallery
This commit is contained in:
parent
c1c1264e9a
commit
3e1b1c29d1
69 changed files with 3822 additions and 56 deletions
|
|
@ -107,6 +107,11 @@ interface MatrixRoom : Closeable {
|
|||
*/
|
||||
suspend fun pinnedEventsTimeline(): Result<Timeline>
|
||||
|
||||
/**
|
||||
* Create a new timeline for the media events of the room.
|
||||
*/
|
||||
suspend fun mediaTimeline(): Result<Timeline>
|
||||
|
||||
fun destroy()
|
||||
|
||||
suspend fun subscribeToSync()
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@ interface Timeline : AutoCloseable {
|
|||
enum class Mode {
|
||||
LIVE,
|
||||
FOCUSED_ON_EVENT,
|
||||
PINNED_EVENTS
|
||||
PINNED_EVENTS,
|
||||
MEDIA,
|
||||
}
|
||||
|
||||
val membershipChangeEventReceived: Flow<Unit>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue