getStateEventsLive

abstract fun getStateEventsLive(eventTypes: Set<String>, stateKey: QueryStateEventValue): LiveData<List<Event>>

Get live state events of the room.

Parameters

eventTypes

Set of eventType to observe. If empty, all state events will be observed

stateKey

the query which will be done on the stateKey