UserStyleSchema

public final class UserStyleSchema


Describes the list of UserStyleSettings the user can configure.

Summary

Public fields

final @NonNull List<@NonNull UserStyleSetting>

The user configurable style categories associated with this watch face.

Public constructors

Public methods

@NonNull String

Public fields

userStyleSettings

public final @NonNull List<@NonNull UserStyleSettinguserStyleSettings

The user configurable style categories associated with this watch face. Empty if the watch face doesn't support user styling. Note we allow at most one UserStyleSetting.ComplicationSlotsUserStyleSetting and one UserStyleSetting.CustomValueUserStyleSetting in the list.

Public constructors

UserStyleSchema

public final UserStyleSchema(List<UserStyleSetting> userStyleSettings)
Parameters
List<UserStyleSetting> userStyleSettings

The user configurable style categories associated with this watch face. Empty if the watch face doesn't support user styling. Note we allow at most one UserStyleSetting.ComplicationSlotsUserStyleSetting and one UserStyleSetting.CustomValueUserStyleSetting in the list.

Public methods

toString

public @NonNull String toString()