setWidgetAllowed

abstract suspend fun setWidgetAllowed(stateEventId: String, allowed: Boolean)

Offers to allow or disallow a widget.

Return

Cancelable

Parameters

stateEventId

the eventId of the state event defining the widget.

allowed

the param to change