get Room Widgets Live
abstract fun getRoomWidgetsLive( roomId: String, widgetId: QueryStateEventValue, widgetTypes: Set<String>? = null, excludedTypes: Set<String>? = null): LiveData<List<Widget>>
Content copied to clipboard
Returns the live room widgets so you can listen to them. Some widgets can be deactivated, so be sure to check for isActive.
Parameters
room Id
the room where you want to fetch widgets
widget Id
if you want to fetch for some particular widget
widget Types
if you want to filter some widget type.
excluded Types
if you want to exclude some widget type.