WatchFaceColorsWireFormat


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 WatchFaceColorsWireFormat implements VersionedParcelable, Parcelable


Wire format for WatchFaceColorsWireFormat.

Summary

Public constructors

WatchFaceColorsWireFormat(
    int primaryColor,
    int secondaryColor,
    int tertiaryColor
)

Public methods

int
int
int
int
void
writeToParcel(@Nullable Parcel parcel, int flags)

Serializes this WatchFaceColorsWireFormat to the specified Parcel.

Inherited Constants

From android.os.Parcelable
static final int
static final int

Constants

CREATOR

Added in 1.2.0
public static final @NonNull Parcelable.Creator<WatchFaceColorsWireFormatCREATOR

Public constructors

WatchFaceColorsWireFormat

Added in 1.2.0
public WatchFaceColorsWireFormat(
    int primaryColor,
    int secondaryColor,
    int tertiaryColor
)

Public methods

describeContents

Added in 1.2.0
public int describeContents()

getPrimaryColor

Added in 1.2.0
public int getPrimaryColor()

getSecondaryColor

Added in 1.2.0
public int getSecondaryColor()

getTertiaryColor

Added in 1.2.0
public int getTertiaryColor()

writeToParcel

Added in 1.2.0
public void writeToParcel(@Nullable Parcel parcel, int flags)

Serializes this WatchFaceColorsWireFormat to the specified Parcel.