Room

interface Room

This interface defines methods to interact within a room.

Functions

Link copied to clipboard
abstract fun aliasService(): AliasService

Get the AliasService associated to this Room.

Link copied to clipboard
abstract fun asSpace(): Space?

Use this room as a Space, if the type is correct.

Link copied to clipboard
abstract fun draftService(): DraftService

Get the DraftService associated to this Room.

Link copied to clipboard

A live LocalRoomSummary associated with the room. You can observe this summary to get dynamic data from this room.

Link copied to clipboard

A live RoomSummary associated with the room. You can observe this summary to get dynamic data from this room.

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

Get a TimelineEvent using the TimelineService of a Room.

Link copied to clipboard

A current snapshot of LocalRoomSummary associated with the room.

Link copied to clipboard

Get the LocationSharingService associated to this Room.

Link copied to clipboard

Get the MembershipService associated to this Room.

Link copied to clipboard

Get the PollHistoryService associated to this Room.

Link copied to clipboard
abstract fun readService(): ReadService

Get the ReadService associated to this Room.

Link copied to clipboard

Get the RelationService associated to this Room.

Link copied to clipboard

Get the ReportingService associated to this Room.

Link copied to clipboard

Get the RoomAccountDataService associated to this Room.

Link copied to clipboard

Get the RoomCallService associated to this Room.

Link copied to clipboard

Get the RoomCryptoService associated to this Room.

Link copied to clipboard

Get the RoomPushRuleService associated to this Room.

Link copied to clipboard
abstract fun roomSummary(): RoomSummary?

A current snapshot of RoomSummary associated with the room.

Link copied to clipboard

Get the RoomVersionService associated to this Room.

Link copied to clipboard
abstract fun sendService(): SendService

Get the SendService associated to this Room.

Link copied to clipboard
abstract fun stateService(): StateService

Get the StateService associated to this Room.

Link copied to clipboard
abstract fun tagsService(): TagsService

Get the TagsService associated to this Room.

Link copied to clipboard

Get the ThreadsLocalService associated to this Room.

Link copied to clipboard

Get the ThreadsService associated to this Room.

Link copied to clipboard

Get the TimelineService associated to this Room.

Link copied to clipboard

Get the TypingService associated to this Room.

Link copied to clipboard

Get the UploadsService associated to this Room.

Properties

Link copied to clipboard
abstract val roomId: String

The roomId of this room.