androidx.glance.wear

Interfaces

WearWidgetData

Describes how a widget is rendered on a host.

Classes

GlanceWearWidget

Object that handles providing the contents of a Wear Widget.

GlanceWearWidgetManager

Manager for Glance Wear Widgets.

GlanceWearWidgetService

Service used for communication between the Host and a Widget Provider.

WearWidgetBrush

Defines a brush for a Wear Widget surface.

WearWidgetDocument

Defines the content of a widget using Remote Compose.

Objects

WearWidgetBrush.Companion

The WearWidgetBrush companion object is the empty, default, or starter WearWidgetBrush that contains no elements.

Extension functions summary

WearWidgetBrush

Creates a WearWidgetBrush with a solid color.

Extension functions

fun WearWidgetBrush.color(color: RemoteColor): WearWidgetBrush

Creates a WearWidgetBrush with a solid color.

Parameters
color: RemoteColor

The RemoteColor to use for the brush.