State Service
interface StateService
Functions
Link copied to clipboard
Delete the avatar of the room.
Link copied to clipboard
Get a state event of the room.
Link copied to clipboard
abstract fun getStateEventLive(eventType: String, stateKey: QueryStateEventValue): LiveData<Optional<Event>>
Get a live state event of the room.
Link copied to clipboard
Get state events of the room.
Link copied to clipboard
abstract fun getStateEventsLive(eventTypes: Set<String>, stateKey: QueryStateEventValue): LiveData<List<Event>>
Get live state events of the room.
Link copied to clipboard
Return true if a room can be joined by anyone (RoomJoinRules.PUBLIC).
Link copied to clipboard
Send a state event to the room.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Update the avatar of the room.
Link copied to clipboard
Update the canonical alias of the room.
Link copied to clipboard
Update the history readability of the room.
Link copied to clipboard
abstract suspend fun updateJoinRule(joinRules: RoomJoinRules?, guestAccess: GuestAccess?, allowList: List<RoomJoinRulesAllowEntry>? = null)
Update the join rule and/or the guest access.
Link copied to clipboard
Update the name of the room.
Link copied to clipboard
Update the topic of the room.