# UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption

# UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption

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.LargeCustomValueUserStyleSetting.CustomValueOption)  
Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.2.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.LargeCustomValueUserStyleSetting.CustomValueOption "View this page in Java")

<br />

```
class UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption : 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.LargeCustomValueUserStyleSetting.CustomValueOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption) |

*** ** * ** ***

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

An application specific custom value. NB the[CustomValueOption.customValue](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#customValue())is the same as the[CustomValueOption.id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#id()).

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [MAX_SIZE](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#MAX_SIZE())` = 125000` **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                                                                                                                                                                                       ### Public constructors                                                                                                                                                                                                        |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~~[CustomValueOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#CustomValueOption(kotlin.ByteArray))~~`(customValue: `[ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)`)` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                  ### Public properties                                   |
|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html) | [customValue](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#customValue()) **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.                                                                                            | | `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.Option#toString())~~`()` **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.                       | |

## Constants

### MAX_SIZE

```
const val MAX_SIZE = 125000: Int
```
| **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 size of[customValue](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#customValue())in bytes. This is based on the following assumptions: 2mbps bluetooth bandwidth and a 50 millisecond transfer time (above 50ms delays become quite noticeable).  

## Public constructors

### CustomValueOption

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

```
[CustomValueOption](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#CustomValueOption(kotlin.ByteArray))(customValue: ByteArray)
```
| **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

Constructs a CustomValueOption.  

|                                               Parameters                                                |
|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `customValue: `[ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html) | The[ByteArray](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#id())and value of this CustomValueOption. This may not exceed[Option.Id.MAX_LENGTH](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.Option.Id#MAX_LENGTH()). |

## Public properties

### customValue

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

```
val customValue: ByteArray
```
| **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[ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)value for this option which is the same as the[id](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#id()). Note the maximum size in bytes is[MAX_SIZE](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.LargeCustomValueUserStyleSetting.CustomValueOption#MAX_SIZE()).