androidx.wear.watchface.style

Interfaces

Classes

CurrentUserStyleRepository

In memory storage for the current user style choices represented as UserStyle, listeners can be registered to observe style changes.

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.

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 ..

UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption

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

UserStyleSetting.Id

Machine readable identifier for UserStyleSettings.

UserStyleSetting.ListUserStyleSetting

A ListStyleCategory 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 ..

UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption

Represents an option a Long in the range minimumValue ..

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.

Enums

WatchFaceLayer

Describes part of watchface.