get State Events Live
abstract fun getStateEventsLive(eventTypes: Set<String>, stateKey: QueryStateEventValue): LiveData<List<Event>>
Content copied to clipboard
Get live state events of the room.
Parameters
event Types
Set of eventType to observe. If empty, all state events will be observed
state Key
the query which will be done on the stateKey