Package org.matrix.android.sdk.api.session.space

Types

Link copied to clipboard
class CreateSpaceParams : CreateRoomParams
Link copied to clipboard
sealed class JoinSpaceResult
Link copied to clipboard
interface Space
Link copied to clipboard
data class SpaceHierarchyData(    val rootSummary: RoomSummary,     val children: List<SpaceChildInfo>,     val childrenState: List<SpaceChildSummaryEvent>,     val nextToken: String? = null)
Link copied to clipboard
object SpaceOrderUtils

Adds some utilities to compute correct string orders when ordering spaces. After moving a space (e.g via DnD), client should limit the number of room account data update. For example if the space is moved between two other spaces with orders, just update the moved space order by computing a mid point between the surrounding orders. If the space is moved after a space with no order, all the previous spaces should be then ordered, and the computed orders should be chosen so that there is enough gaps in between them to facilitate future re-order. Re numbering (i.e change all spaces m.space.order account data) should be avoided as much as possible, as the updates might not be atomic for other clients and would makes spaces jump around.

Link copied to clipboard
interface SpaceService
Link copied to clipboard
typealias SpaceSummaryQueryParams = RoomSummaryQueryParams