# UserStyleSetting.BooleanUserStyleSetting.BooleanOption

# UserStyleSetting.BooleanUserStyleSetting.BooleanOption

Artifact:[androidx.wear.watchface:watchface-style](https://developer.android.com/jetpack/androidx/releases/wear-watchface)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/style/UserStyleSetting.kt+class:androidx.wear.watchface.style.UserStyleSetting.BooleanUserStyleSetting.BooleanOption)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption "View this page in Java")

<br />

```
class UserStyleSetting.BooleanUserStyleSetting.BooleanOption : UserStyleSetting.Option
```

<br />

|---|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)                                                                                                                                                |||
| ↳ | [androidx.wear.watchface.style.UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option)                                                                  ||
|   | ↳ | [androidx.wear.watchface.style.UserStyleSetting.BooleanUserStyleSetting.BooleanOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption) |

*** ** * ** ***

| **This class is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

Represents a true or false option in the[BooleanUserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting).

## Summary

|                                                                                ### Public companion functions                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [UserStyleSetting.BooleanUserStyleSetting.BooleanOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption) | ~~[from](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#from(kotlin.Boolean))~~`(value: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                                                                ### Public companion properties                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [UserStyleSetting.BooleanUserStyleSetting.BooleanOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption) | [FALSE](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#FALSE()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| [UserStyleSetting.BooleanUserStyleSetting.BooleanOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption) | [TRUE](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#TRUE()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.   |

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | ~~[toString](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#toString())~~`()` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [value](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#value()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.wear.watchface.style.UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option) |-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | ~~[equals](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option#equals(kotlin.Any))~~`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. | | `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | ~~[hashCode](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option#hashCode())~~`()` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                                                                            | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ### Inherited properties                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.wear.watchface.style.UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option) |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Collection](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html)`<`[UserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting)`>` | [childSettings](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option#childSettings()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. | | [UserStyleSetting.Option.Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option.Id)                                                                                        | [id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option#id()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                       | |

## Public companion functions

### from

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)  

```
fun [from](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#from(kotlin.Boolean))(value: Boolean): UserStyleSetting.BooleanUserStyleSetting.BooleanOption
```
| **This function is deprecated.**   
AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff  

## Public companion properties

### FALSE

```
val FALSE: UserStyleSetting.BooleanUserStyleSetting.BooleanOption
```
| **This property is deprecated.**   
AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff  

### TRUE

```
val TRUE: UserStyleSetting.BooleanUserStyleSetting.BooleanOption
```
| **This property is deprecated.**   
AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff  

## Public functions

### toString

```
open fun [toString](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.BooleanUserStyleSetting.BooleanOption#toString())(): String
```
| **This function is deprecated.**   
AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff  

## Public properties

### value

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)  
Deprecated in[1.3.0-alpha07](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.3.0-alpha07)  

```
val value: Boolean
```
| **This property is deprecated.**   
| AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

The boolean value this instance represents.