UserStyleSetting.BooleanUserStyleSetting.BooleanOption


public final class UserStyleSetting.BooleanUserStyleSetting.BooleanOption extends UserStyleSetting.Option


Represents a true or false option in the BooleanUserStyleSetting.

Summary

Public methods

static final @NonNull UserStyleSetting.BooleanUserStyleSetting.BooleanOption
from(boolean value)
final boolean

The boolean value this instance represents.

@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 methods

from

Added in 1.0.0
public static final @NonNull UserStyleSetting.BooleanUserStyleSetting.BooleanOption from(boolean value)

getValue

Added in 1.0.0
public final boolean getValue()

The boolean value this instance represents.

toString

public @NonNull String toString()