Package org.matrix.android.sdk.api.query

Types

Link copied to clipboard
interface QueryStateEventValue

Only a subset of QueryStringValue are applicable to query the stateKey of a state event.

Link copied to clipboard
interface QueryStringValue

Basic query language. All these cases are mutually exclusive.

Link copied to clipboard
enum RoomCategoryFilter : Enum<RoomCategoryFilter>

To filter by Room category.

Link copied to clipboard
data class RoomTagQueryFilter(    val isFavorite: Boolean?,     val isLowPriority: Boolean?,     val isServerNotice: Boolean?)

Filter room by their tag.

Link copied to clipboard
interface SpaceFilter

Filter to be used to do room queries regarding the space hierarchy.

Functions

Link copied to clipboard
fun String?.toActiveSpaceOrNoFilter(): SpaceFilter

Return a SpaceFilter.ActiveSpace if the String is not null, or SpaceFilter.NoFilter.

Link copied to clipboard
fun String?.toActiveSpaceOrOrphanRooms(): SpaceFilter

Return a SpaceFilter.ActiveSpace if the String is not null, or SpaceFilter.OrphanRooms.