WatchFaceColors
@WatchFaceExperimental
public final class WatchFaceColors
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 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 Color |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final @NonNull Color |
This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
final @NonNull Color |
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. |
Public constructors
WatchFaceColors
publicWatchFaceColors(
@NonNull Color primaryColor,
@NonNull Color secondaryColor,
@NonNull Color tertiaryColor
)
Public methods
getPrimaryColor
public final @NonNull ColorgetPrimaryColor()
getSecondaryColor
public final @NonNull ColorgetSecondaryColor()
getTertiaryColor
public final @NonNull ColorgetTertiaryColor()