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

UserStyle

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

The users style choices represented as a map of UserStyleSetting to UserStyleSetting.Option.

Summary

Public constructors
<init>(userStyle: UserStyleWireFormat, styleSchema: UserStyleSchema)

The users style choices represented as a map of UserStyleSetting to UserStyleSetting.Option.

Public methods
UserStyleWireFormat

Properties
Map<UserStyleSetting, UserStyleSetting.Option>

Public constructors

<init>

UserStyle(
    userStyle: UserStyleWireFormat,
    styleSchema: UserStyleSchema)

<init>

UserStyle(selectedOptions: Map<UserStyleSetting, UserStyleSetting.Option>)

The users style choices represented as a map of UserStyleSetting to UserStyleSetting.Option.

Public methods

toWireFormat

fun toWireFormat(): UserStyleWireFormat

Properties

selectedOptions

val selectedOptions: Map<UserStyleSetting, UserStyleSetting.Option>