RoomDirectoryService

interface RoomDirectoryService

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

Functions

Link copied to clipboard
abstract suspend fun checkAliasAvailability(aliasLocalPart: String?): AliasAvailabilityResult
Link copied to clipboard
abstract suspend fun getPublicRooms(server: String?, publicRoomsParams: PublicRoomsParams): PublicRoomsResponse

Get rooms from directory.

Link copied to clipboard
abstract suspend fun getRoomDirectoryVisibility(roomId: String): RoomDirectoryVisibility

Get the visibility of a room in the directory.

Link copied to clipboard
abstract suspend fun setRoomDirectoryVisibility(roomId: String, roomDirectoryVisibility: RoomDirectoryVisibility)

Set the visibility of a room in the directory.