WatchFaceColors


@WatchFaceExperimental
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

WatchFaceColors(
    primaryColor: Color,
    secondaryColor: Color,
    tertiaryColor: Color
)

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public functions

open operator Boolean
equals(other: Any?)

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

Added in 1.2.0
Deprecated in 1.3.0-alpha06
WatchFaceColors(
    primaryColor: Color,
    secondaryColor: Color,
    tertiaryColor: Color
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

primaryColor

Added in 1.2.0
Deprecated in 1.3.0-alpha06
val primaryColorColor

secondaryColor

Added in 1.2.0
Deprecated in 1.3.0-alpha06
val secondaryColorColor

tertiaryColor

Added in 1.2.0
Deprecated in 1.3.0-alpha06
val tertiaryColorColor