androidx.wear.watchface.style
Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.
Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.
Classes
CurrentUserStyleRepository |
In memory storage for the current user style choices represented as a |
MutableUserStyle |
A mutable |
UserStyle |
An immutable representation of user style choices that maps each |
UserStyleData |
A form of |
UserStyleFlavor |
Represents user specified preset of watch face. |
UserStyleFlavors |
Collection of watch face flavors, represented by |
UserStyleSchema |
Describes the list of |
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 |
UserStyleSetting.ComplicationSlotsUserStyleSetting |
ComplicationSlotsUserStyleSetting is the recommended |
UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay |
Overrides to be applied to the corresponding |
UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.Builder |
Constructs a |
UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption |
Represents an override to the initial |
UserStyleSetting.CustomValueUserStyleSetting |
An application specific style setting. |
UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption |
An application specific custom value. |
UserStyleSetting.DoubleRangeUserStyleSetting |
A DoubleRangeUserStyleSetting represents a setting with a |
UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption |
Represents an option as a |
UserStyleSetting.Id |
Machine readable identifier for |
UserStyleSetting.LargeCustomValueUserStyleSetting |
An application specific style setting which supports a larger maximum size than |
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 |
UserStyleSetting.LongRangeUserStyleSetting |
A LongRangeUserStyleSetting represents a setting with a |
UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption |
Represents an option a |
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 |
UserStyleSetting.WatchFaceEditorData |
Optional data for an on watch face editor (not the companion editor). |
Enums
WatchFaceLayer |
Describes part of watchface. |