UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

class UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption : UserStyleSetting.Option


Represents an option as a Double in the range minimumValue .. maximumValue.

Summary

Public constructors

Constructs a DoubleRangeOption.

Public functions

open String

Public properties

Double

Inherited functions

From androidx.wear.watchface.style.UserStyleSetting.Option
open operator Boolean
equals(other: Any?)
open Int

Inherited properties

From androidx.wear.watchface.style.UserStyleSetting.Option
Collection<UserStyleSetting>

The list of child UserStyleSettings, if any, forming a hierarchy of UserStyleSettings.

UserStyleSetting.Option.Id

Machine readable Id for the style setting.

Public constructors

DoubleRangeOption

Added in 1.0.0
DoubleRangeOption(value: Double)

Constructs a DoubleRangeOption.

Parameters
value: Double

The value of this DoubleRangeOption

Public functions

toString

open fun toString(): String

Public properties

value

Added in 1.0.0
val valueDouble