getStateEvent

fun Room.getStateEvent(eventType: String, stateKey: QueryStateEventValue): Event?

Get a StateEvent using the StateService of a Room.

Parameters

stateKey

the query which will be done on the stateKey.