UserStyleSetting.Id


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


Machine readable identifier for UserStyleSettings. The length of this identifier may not exceed MAX_LENGTH.

Summary

Constants

static final int

Maximum length of the value field.

Public constructors

Id(@NonNull String value)

Public methods

boolean
equals(Object other)
final @NonNull String
int
@NonNull String

Constants

MAX_LENGTH

public static final int MAX_LENGTH = 40

Maximum length of the value field.

Public constructors

Id

Added in 1.0.0
public Id(@NonNull String value)

Public methods

equals

public boolean equals(Object other)

getValue

Added in 1.0.0
public final @NonNull String getValue()

hashCode

public int hashCode()

toString

public @NonNull String toString()