Stay organized with collections
Save and categorize content based on your preferences.
@WatchFaceExperimental class WatchFaceColors
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
Provides information about the colors of a watch face, exposing the three most representative colors. This may be used by the system to influence the colors used for the system ui.
use Watch Face Format instead
Summary
Public constructors
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Public functions
open operator Boolean
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
open Int
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
open String
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Public properties
Color
This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Color
This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Color
This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.
Public constructors
WatchFaceColors ( primaryColor: Color , secondaryColor: Color , tertiaryColor: Color )
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Public functions
open operator fun equals (other: Any ?): Boolean
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
open fun hashCode (): Int
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
open fun toString (): String
This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
Public properties
val primaryColor : Color
This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
val secondaryColor : Color
This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff
val tertiaryColor : Color
This property 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 2025-05-15 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 2025-05-15 UTC."],[],[]]