RenderParameters.HighlightedElement.UserStyle


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.

public final class RenderParameters.HighlightedElement.UserStyle extends RenderParameters.HighlightedElement


A UserStyleSetting to highlight. E.g. for a setting that controls watch hands, the location of the hands should be highlighted.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull UserStyleSetting.Id

The UserStyleSetting.Id of the UserStyleSetting to highlight.

int

Public constructors

UserStyle

Added in 1.0.0
public UserStyle(@NonNull UserStyleSetting.Id id)
Parameters
@NonNull UserStyleSetting.Id id

The UserStyleSetting.Id of the UserStyleSetting to highlight.

Public methods

equals

public boolean equals(Object other)

getId

Added in 1.0.0
public final @NonNull UserStyleSetting.Id getId()

The UserStyleSetting.Id of the UserStyleSetting to highlight.

hashCode

public int hashCode()