getWidgetConfigEntry

abstract fun <T : ConfigEntry<out Any>?> getWidgetConfigEntry(@NotNull widgetId: @NotNull String): Optional<T>

Gets the configuration entry associated with the specified widget.

Return

An optional containing the configuration entry, or an empty optional if not found.

Parameters

widgetId

Unique identifier of the widget.