WidgetInfos

data class WidgetInfos(val type: String, val payload: JsonObject, var widgetId: String, var onDismiss: () -> Unit?? = null)

A representation of a widget

Constructors

Link copied to clipboard
constructor(type: String, payload: JsonObject, widgetId: String, onDismiss: () -> Unit?? = null)

Properties

Link copied to clipboard
var onDismiss: () -> Unit??

onDismiss Widget

Link copied to clipboard
val payload: JsonObject

The data used to define the widget

Link copied to clipboard

The type of the widget

Link copied to clipboard

The id of the widget