Widget Config
constructor(displayName: String, description: String = "", supportedFamilies: List<WidgetFamily> = listOf(
WidgetFamily.Small,
WidgetFamily.Medium,
WidgetFamily.Large
), updatePolicy: UpdatePolicy = UpdatePolicy.Periodic(), configurable: Boolean = false)
Parameters
display Name
The user-facing name of the widget shown in the widget gallery.
description
A brief description of what the widget does.
supported Families
The widget sizes this widget supports.
update Policy
How the widget should update its content.
configurable
Whether the widget supports user configuration.