UserStyleData


public final class UserStyleData


A form of UserStyle which is easy to serialize. This is intended for use by the watch face clients and the editor where we can't practically use UserStyle due to its limitations.

use Watch Face Format instead

Summary

Public constructors

UserStyleData(@NonNull Map<@NonNull String, @NonNull byte[]> userStyleMap)

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

Public methods

boolean
equals(Object other)

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

final @NonNull Map<@NonNull String, @NonNull byte[]>

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

UserStyleData

Added in 1.0.0
Deprecated in 1.3.0-alpha06
public UserStyleData(@NonNull Map<@NonNull String, @NonNull byte[]> userStyleMap)

Public methods

equals

public boolean equals(Object other)

getUserStyleMap

Added in 1.0.0
Deprecated in 1.3.0-alpha06
public final @NonNull Map<@NonNull String, @NonNull byte[]> getUserStyleMap()

hashCode

public int hashCode()

toString

public @NonNull String toString()