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

ListUserStyleSetting

open class ListUserStyleSetting : UserStyleSetting
kotlin.Any
   ↳ androidx.wear.watchface.style.UserStyleSetting
   ↳ androidx.wear.watchface.style.UserStyleSetting.ListUserStyleSetting

A ListStyleCategory represents a setting with options selected from a List.

Summary

Nested classes

Represents choice within a ListUserStyleSetting, these must be enumerated up front.

Public constructors
<init>(id: String, displayName: CharSequence, description: CharSequence, icon: Icon?, options: List<UserStyleSetting.ListUserStyleSetting.ListOption>, affectsLayers: Collection<Layer>, defaultOption: UserStyleSetting.ListUserStyleSetting.ListOption = options.first())

Public methods
open ListUserStyleSettingWireFormat

Inherited functions
Inherited properties

Public constructors

<init>

ListUserStyleSetting(
    id: String,
    displayName: CharSequence,
    description: CharSequence,
    icon: Icon?,
    options: List<UserStyleSetting.ListUserStyleSetting.ListOption>,
    affectsLayers: Collection<Layer>,
    defaultOption: UserStyleSetting.ListUserStyleSetting.ListOption = options.first())

Public methods

toWireFormat

open fun toWireFormat(): ListUserStyleSettingWireFormat