UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption


public final class UserStyleSetting.DoubleRangeUserStyleSetting.DoubleRangeOption extends UserStyleSetting.Option


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

Summary

Public constructors

DoubleRangeOption(double value)

Constructs a DoubleRangeOption.

Public methods

final double
@NonNull String

Inherited methods

From androidx.wear.watchface.style.UserStyleSetting.Option
boolean
equals(Object other)
final @NonNull Collection<@NonNull UserStyleSetting>

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

final @NonNull UserStyleSetting.Option.Id

Machine readable Id for the style setting.

int

Public constructors

DoubleRangeOption

Added in 1.0.0
public DoubleRangeOption(double value)

Constructs a DoubleRangeOption.

Parameters
double value

The value of this DoubleRangeOption

Public methods

getValue

Added in 1.0.0
public final double getValue()

toString

public @NonNull String toString()