RoomSummaryQueryParams

data class RoomSummaryQueryParams(val roomId: QueryStringValue, val displayName: QueryStringValue, val canonicalAlias: QueryStringValue, val memberships: List<Membership>, val roomCategoryFilter: RoomCategoryFilter?, val roomTagQueryFilter: RoomTagQueryFilter?, val excludeType: List<String?>?, val includeType: List<String?>?, val spaceFilter: SpaceFilter)

This class can be used to filter room summaries to use with RoomService. It provides a Builder. roomSummaryQueryParams and spaceSummaryQueryParams can also be used to build an instance of this class.

Constructors

Link copied to clipboard
constructor(roomId: QueryStringValue, displayName: QueryStringValue, canonicalAlias: QueryStringValue, memberships: List<Membership>, roomCategoryFilter: RoomCategoryFilter?, roomTagQueryFilter: RoomTagQueryFilter?, excludeType: List<String?>?, includeType: List<String?>?, spaceFilter: SpaceFilter)

Types

Link copied to clipboard
class Builder

Builder for RoomSummaryQueryParams. roomSummaryQueryParams and spaceSummaryQueryParams can also be used to build an instance of RoomSummaryQueryParams.

Properties

Link copied to clipboard

Query for the canonical alias of the room.

Link copied to clipboard

Query for the displayName of the room. The display name can be the value of the state event, or a value returned by org.matrix.android.sdk.api.RoomDisplayNameFallbackProvider.

Link copied to clipboard

Used to filter room by room type.

Link copied to clipboard

Used to filter room by room type.

Link copied to clipboard

Used to filter room by membership.

Link copied to clipboard

Used to filter room by room category.

Link copied to clipboard

Query for the roomId.

Link copied to clipboard

Used to filter room by room tag.

Link copied to clipboard

Used to filter room using the current space.