WidgetConfig

constructor(displayName: String, description: String = "", supportedFamilies: List<WidgetFamily> = listOf( WidgetFamily.Small, WidgetFamily.Medium, WidgetFamily.Large ), updatePolicy: UpdatePolicy = UpdatePolicy.Periodic(), configurable: Boolean = false)

Parameters

displayName

The user-facing name of the widget shown in the widget gallery.

description

A brief description of what the widget does.

supportedFamilies

The widget sizes this widget supports.

updatePolicy

How the widget should update its content.

configurable

Whether the widget supports user configuration.