Stay organized with collections
Save and categorize content based on your preferences.
public final class UserStyleSetting.Id
This class is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Machine readable identifier for UserStyleSetting s. The length of this identifier may not exceed MAX_LENGTH .
Summary
Constants
static final int
This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Public constructors
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Public methods
boolean
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
final @NonNull String
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
int
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
@NonNull String
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Constants
public static final int MAX_LENGTH = 40
This field is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Maximum length of the value field.
Public constructors
public Id (@NonNull String value)
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Public methods
public boolean equals (Object other)
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
public final @NonNull String getValue ()
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
public int hashCode ()
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
public @NonNull String toString ()
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-06 UTC."],[],[]]