androidx.wear.watchface.style


Classes

CurrentUserStyleRepository

In memory storage for the current user style choices represented as a MutableStateFlow<UserStyle>.

MutableUserStyle

A mutable UserStyle.

UserStyle

An immutable representation of user style choices that maps each UserStyleSetting to UserStyleSetting.Option.

UserStyleData

A form of UserStyle which is easy to serialize.

UserStyleFlavor

Represents user specified preset of watch face.

UserStyleFlavors

Collection of watch face flavors, represented by UserStyleFlavor class.

UserStyleSchema

Describes the list of UserStyleSettings the user can configure.

UserStyleSetting

Watch faces often have user configurable styles, the definition of what is a style is left up to the watch face but it typically incorporates a variety of settings such as: color, visual theme for watch hands, font, tick shape, complication slots, audio elements, etc...

UserStyleSetting.BooleanUserStyleSetting

A BooleanUserStyleSetting represents a setting with a true and a false setting.

UserStyleSetting.BooleanUserStyleSetting.BooleanOption

Represents a true or false option in the BooleanUserStyleSetting.

UserStyleSetting.ComplicationSlotsUserStyleSetting

ComplicationSlotsUserStyleSetting is the recommended UserStyleSetting for representing complication slot configuration, options such as the number of active complication slots, their location, etc...

UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay

Overrides to be applied to the corresponding androidx.wear.watchface.ComplicationSlot's initial config (as specified in it's constructor) when the setting is selected.

UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.Builder

Constructs a ComplicationSlotOverlay.Builder.

UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption

Represents an override to the initial androidx.wear.watchface.ComplicationSlotsManager configuration.

UserStyleSetting.CustomValueUserStyleSetting

An application specific style setting.

UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption

An application specific custom value.

UserStyleSetting.DoubleRangeUserStyleSetting

A DoubleRangeUserStyleSetting represents a setting with a Double value in the range [minimumValue .. maximumValue].

UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption

Represents an option as a Double in the range minimumValue .. maximumValue.

UserStyleSetting.Id

Machine readable identifier for UserStyleSettings.

UserStyleSetting.LargeCustomValueUserStyleSetting

An application specific style setting which supports a larger maximum size than CustomValueUserStyleSetting.

UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption

An application specific custom value.

UserStyleSetting.ListUserStyleSetting

A ListUserStyleSetting represents a setting with options selected from a List.

UserStyleSetting.ListUserStyleSetting.ListOption

Represents choice within a ListUserStyleSetting, these must be enumerated up front.

UserStyleSetting.LongRangeUserStyleSetting

A LongRangeUserStyleSetting represents a setting with a Long value in the range minimumValue .. maximumValue.

UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption

Represents an option a Long in the range minimumValue .. maximumValue.

UserStyleSetting.Option

Represents a choice within a style setting which can either be an option from the list or a an arbitrary value depending on the nature of the style setting.

UserStyleSetting.Option.Id

Machine readable identifier for Options.

UserStyleSetting.WatchFaceEditorData

Optional data for an on watch face editor (not the companion editor).

Enums

WatchFaceLayer

Describes part of watchface.