Module widget

Source
Available on crate feature experimental-widgets only.
Expand description

Widget API implementation.

Structs§

Capabilities
Capabilities that a widget can request from a client.
ClientProperties
The set of settings and properties for the widget based on the client configuration. Those values are used generate the widget url.
VirtualElementCallWidgetOptions
Properties to create a new virtual Element Call widget.
WidgetDriver
An object that handles all interactions of a widget living inside a webview or iframe with the Matrix world.
WidgetDriverHandle
A handle that encapsulates the communication between a widget driver and the corresponding widget (inside a webview or iframe).
WidgetSettings
Settings of the widget.

Enums§

EncryptionSystem
Defines if a call is encrypted and which encryption system should be used.
EventFilter
Different kinds of filters for timeline events.
Intent
Defines the intent of showing the call.
MessageLikeEventFilter
Filter for message-like events.
StateEventFilter
Filter for state events.

Traits§

CapabilitiesProvider
Must be implemented by a component that provides functionality of deciding whether a widget is allowed to use certain capabilities (typically by providing a prompt to the user).