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
fun RoomSummaryQueryParams(    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
val canonicalAlias: QueryStringValue

Query for the canonical alias of the room.

Link copied to clipboard
val displayName: QueryStringValue

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
val excludeType: List<String?>?

Used to filter room by room type.

Link copied to clipboard
val includeType: List<String?>?

Used to filter room by room type.

Link copied to clipboard
val memberships: List<Membership>

Used to filter room by membership.

Link copied to clipboard
val roomCategoryFilter: RoomCategoryFilter?

Used to filter room by room category.

Link copied to clipboard
val roomId: QueryStringValue

Query for the roomId.

Link copied to clipboard
val roomTagQueryFilter: RoomTagQueryFilter?

Used to filter room by room tag.

Link copied to clipboard
val spaceFilter: SpaceFilter

Used to filter room using the current space.