# UserStyleSetting.LongRangeUserStyleSetting

# UserStyleSetting.LongRangeUserStyleSetting

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.LongRangeUserStyleSetting)  
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.LongRangeUserStyleSetting "View this page in Java")

<br />

```
class UserStyleSetting.LongRangeUserStyleSetting : UserStyleSetting
```

<br />

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

*** ** * ** ***

| **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

A LongRangeUserStyleSetting represents a setting with a[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)value in the range minimumValue .. maximumValue.

## Summary

|                                                                                                                                                                                                                      ### Nested types                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[UserStyleSetting.LongRangeUserStyleSetting.Builder](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting.Builder) **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                                                                                                                                     |
| `class `[UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption)` : `[UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option) **This class is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ### Public constructors                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~~[LongRangeUserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#LongRangeUserStyleSetting(androidx.wear.watchface.style.UserStyleSetting.Id,android.content.res.Resources,kotlin.Int,kotlin.Int,android.graphics.drawable.Icon,kotlin.Long,kotlin.Long,kotlin.collections.Collection,kotlin.Long,androidx.wear.watchface.style.UserStyleSetting.WatchFaceEditorData))~~`(` ` id: `[UserStyleSetting.Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Id)`,` ` resources: `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)`,` ` displayNameResourceId: @`[StringRes](https://developer.android.com/reference/kotlin/androidx/annotation/StringRes)` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` descriptionResourceId: @`[StringRes](https://developer.android.com/reference/kotlin/androidx/annotation/StringRes)` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` icon: `[Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)`?,` ` minimumValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` maximumValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` affectsWatchFaceLayers: `[Collection](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html)`<`[WatchFaceLayer](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/WatchFaceLayer)`>,` ` defaultValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` watchFaceEditorData: `[UserStyleSetting.WatchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData)`?` `)` **This function is deprecated.**Use the Builder instead |

|                                                          ### Public functions                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open `[UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option) | ~~[getOptionForId](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#getOptionForId(androidx.wear.watchface.style.UserStyleSetting.Option.Id))~~`(optionId: `[UserStyleSetting.Option.Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option.Id)`)` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

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

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ### Inherited functions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.wear.watchface.style.UserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting) |-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `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#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#hashCode())~~`()` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                                                                            | | `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#toString())~~`()` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                                                                            | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ### Inherited properties                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.wear.watchface.style.UserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting) |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [Collection](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html)`<`[WatchFaceLayer](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/WatchFaceLayer)`>`       | [affectedWatchFaceLayers](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#affectedWatchFaceLayers()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. | | [UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option)                                                                                                | [defaultOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#defaultOption()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                     | | [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                                                                                                                    | [defaultOptionIndex](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#defaultOptionIndex()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.           | | [CharSequence](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html)                                                                                                                                 | [description](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#description()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                         | | [CharSequence](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html)                                                                                                                                 | [displayName](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#displayName()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                         | | [Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)`?`                                                                                                                                         | [icon](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#icon()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                       | | [UserStyleSetting.Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Id)                                                                                                        | [id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#id()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                           | | [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[UserStyleSetting.Option](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option)`>` | [options](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#options()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.                                 | | [UserStyleSetting.WatchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData)`?`                                                                   | [watchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#watchFaceEditorData()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead.         | |

## Public constructors

### LongRangeUserStyleSetting

```
[LongRangeUserStyleSetting](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#LongRangeUserStyleSetting(androidx.wear.watchface.style.UserStyleSetting.Id,android.content.res.Resources,kotlin.Int,kotlin.Int,android.graphics.drawable.Icon,kotlin.Long,kotlin.Long,kotlin.collections.Collection,kotlin.Long,androidx.wear.watchface.style.UserStyleSetting.WatchFaceEditorData))(
    id: UserStyleSetting.Id,
    resources: Resources,
    displayNameResourceId: @StringRes Int,
    descriptionResourceId: @StringRes Int,
    icon: Icon?,
    minimumValue: Long,
    maximumValue: Long,
    affectsWatchFaceLayers: Collection<WatchFaceLayer>,
    defaultValue: Long,
    watchFaceEditorData: UserStyleSetting.WatchFaceEditorData? = null
)
```
| **This function is deprecated.**   
| Use the Builder instead

Constructs a LongRangeUserStyleSetting where[LongRangeUserStyleSetting.displayName](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#displayName())and[LongRangeUserStyleSetting.description](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#description())are specified as resources.  

|                                                                                                                     Parameters                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `id: `[UserStyleSetting.Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Id)                                                                                                                      | [Id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Id)for the element, must be unique.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `resources: `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)                                                                                                                                               | The[Resources](https://developer.android.com/reference/android/content/res/Resources.html)from which[displayNameResourceId](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#<init>(androidx.wear.watchface.style.UserStyleSetting.Id,android.content.res.Resources,kotlin.Int,kotlin.Int,android.graphics.drawable.Icon,kotlin.Long,kotlin.Long,kotlin.collections.Collection,kotlin.Long,androidx.wear.watchface.style.UserStyleSetting.WatchFaceEditorData))and[descriptionResourceId](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#<init>(androidx.wear.watchface.style.UserStyleSetting.Id,android.content.res.Resources,kotlin.Int,kotlin.Int,android.graphics.drawable.Icon,kotlin.Long,kotlin.Long,kotlin.collections.Collection,kotlin.Long,androidx.wear.watchface.style.UserStyleSetting.WatchFaceEditorData))are loaded. |
| `displayNameResourceId: @`[StringRes](https://developer.android.com/reference/kotlin/androidx/annotation/StringRes)` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                  | String resource id for a human readable name for the element, used in the userStyle selection UI.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `descriptionResourceId: @`[StringRes](https://developer.android.com/reference/kotlin/androidx/annotation/StringRes)` `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                  | String resource id for a human readable description string displayed under the displayName.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `icon: `[Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)`?`                                                                                                                                                     | [Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)for use in the companion userStyle selection UI. This gets sent to the companion over bluetooth and should be small (ideally a few kb in size).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `minimumValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                                                                                                                      | Minimum value (inclusive).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `maximumValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                                                                                                                      | Maximum value (inclusive).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `affectsWatchFaceLayers: `[Collection](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-collection/index.html)`<`[WatchFaceLayer](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/WatchFaceLayer)`>` | Used by the style configuration UI. Describes which watch face rendering layers this style affects.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `defaultValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                                                                                                                      | The default value for this LongRangeUserStyleSetting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `watchFaceEditorData: `[UserStyleSetting.WatchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData)`? = null`                                                         | Optional data for an on watch face editor, this will not be sent to the companion and its contents may be used in preference to other fields by an on watch face editor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

## Public functions

### getOptionForId

```
open fun [getOptionForId](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LongRangeUserStyleSetting#getOptionForId(androidx.wear.watchface.style.UserStyleSetting.Option.Id))(optionId: UserStyleSetting.Option.Id): UserStyleSetting.Option
```
| **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

We support all values in the range min ... max not just min \& max.  

## Public properties

### defaultValue

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 defaultValue: Long
```
| **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 default value.  

### maximumValue

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 maximumValue: Long
```
| **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 maximum value.  

### minimumValue

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 minimumValue: Long
```
| **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 minimum value.