Space Service
interface SpaceService
Functions
Link copied to clipboard
Get the root spaces, i.e. all the spaces which do not have a parent space.
Link copied to clipboard
abstract fun getSpaceSummaries(spaceSummaryQueryParams: SpaceSummaryQueryParams, sortOrder: RoomSortOrder = RoomSortOrder.NONE): List<RoomSummary>
Link copied to clipboard
abstract fun getSpaceSummariesLive(queryParams: SpaceSummaryQueryParams, sortOrder: RoomSortOrder = RoomSortOrder.NONE): LiveData<List<RoomSummary>>
Get a live list of space summaries. This list is refreshed as soon as the data changes.
Link copied to clipboard
Leave the space, or reject an invitation.
Link copied to clipboard
Try to resolve (peek) rooms and subspace in this space. Use this call get preview of children of this space, particularly useful to get a preview of rooms that you did not join yet.
Link copied to clipboard
abstract suspend fun querySpaceChildren(spaceId: String, suggestedOnly: Boolean? = null, limit: Int? = null, from: String? = null, knownStateList: List<SpaceChildSummaryEvent>? = null): SpaceHierarchyData
Get's information of a space by querying the server.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard