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

Option

abstract class Option
kotlin.Any
   ↳ androidx.wear.watchface.style.UserStyleSetting.Option

Represents a choice within a style setting.

Summary

Public constructors

Represents a choice within a style setting.

Public methods
abstract OptionWireFormat

Companion functions
UserStyleSetting.Option
createFromWireFormat(wireFormat: OptionWireFormat)

Properties
String

Identifier for the option, must be unique within the UserStyleSetting.

Public constructors

<init>

Option(id: String)

Represents a choice within a style setting.

Public methods

toWireFormat

abstract fun toWireFormat(): OptionWireFormat

Properties

id

val id: String

Identifier for the option, must be unique within the UserStyleSetting.

Companion functions

createFromWireFormat

fun createFromWireFormat(wireFormat: OptionWireFormat): UserStyleSetting.Option