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

Types

Link copied to clipboard
sealed class AliasAvailabilityResult
Link copied to clipboard
data class ResultBoundaries(    val frontLoaded: Boolean = false,     val endLoaded: Boolean = false,     val zeroItemLoaded: Boolean = false)
Link copied to clipboard
interface Room

This interface defines methods to interact within a room.

Link copied to clipboard
interface RoomDirectoryService

This interface defines methods to get and join public rooms. It's implemented at the session level.

Link copied to clipboard
interface RoomService

This interface defines methods to get rooms. It's implemented at the session level.

Link copied to clipboard
enum RoomSortOrder : Enum<RoomSortOrder>

Enum to sort room list.

Link copied to clipboard
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.

Link copied to clipboard
interface UpdatableLivePageResult

Functions

Link copied to clipboard
fun Room.getStateEvent(eventType: String, stateKey: QueryStateEventValue): Event?

Get a StateEvent using the StateService of a Room.

Link copied to clipboard
fun Room.getTimelineEvent(eventId: String): TimelineEvent?

Get a TimelineEvent using the TimelineService of a Room.

Link copied to clipboard
Link copied to clipboard

Create a SpaceSummaryQueryParams object (which is a RoomSummaryQueryParams), calling init with a RoomSummaryQueryParams.Builder. This is specific for spaces, other filters will be applied after invoking init