WearWidgetParams
class WearWidgetParams
The parameters used for providing data for a Wear Widget.
Summary
Public properties |
|
|---|---|
Int |
The container type being requested. |
Float |
The height in dp of the content for this widget. |
WidgetInstanceId |
The instance id of the widget for this request. |
Float |
The width in dp of the content for this widget. |
Public functions
Public properties
containerType
Added in 1.0.0-alpha18
val containerType: Int
The container type being requested. See ContainerInfo.
heightDp
Added in 1.0.0-alpha18
val heightDp: Float
The height in dp of the content for this widget.
instanceId
Added in 1.0.0-alpha18
val instanceId: WidgetInstanceId
The instance id of the widget for this request. The id is created by the system and is provided when GlanceWearWidget.onActivated is called.