Google is committed to advancing racial equity for Black communities. See how.

UserStyleSchema

class UserStyleSchema
kotlin.Any
   ↳ androidx.wear.watchface.style.UserStyleSchema

Describes the list of UserStyleSettings the user can configure.

Summary

Public constructors
<init>(wireFormat: UserStyleSchemaWireFormat)

<init>(userStyleSettings: List<UserStyleSetting>)

Describes the list of UserStyleSettings the user can configure.

Public methods
UserStyleSchemaWireFormat

Properties
List<UserStyleSetting>

The user configurable style categories associated with this watch face.

Public constructors

<init>

UserStyleSchema(wireFormat: UserStyleSchemaWireFormat)

<init>

UserStyleSchema(userStyleSettings: List<UserStyleSetting>)

Describes the list of UserStyleSettings the user can configure.

Public methods

toWireFormat

fun toWireFormat(): UserStyleSchemaWireFormat

Properties

userStyleSettings

val userStyleSettings: List<UserStyleSetting>

The user configurable style categories associated with this watch face. Empty if the watch face doesn't support user styling.