# UserStyleSetting.WatchFaceEditorData

# UserStyleSetting.WatchFaceEditorData

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

<br />

```
class UserStyleSetting.WatchFaceEditorData
```

<br />

*** ** * ** ***

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

Optional data for an on watch face editor (not the companion editor).

## Summary

|                                                                                                                                                                                           ### Public constructors                                                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~~[WatchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#WatchFaceEditorData(android.graphics.drawable.Icon))~~`(icon: `[Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)`?)` **This function is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

|                                 ### Public properties                                  |
|----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Icon](https://developer.android.com/reference/android/graphics/drawable/Icon.html)`?` | [icon](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#icon()) **This property is deprecated.**AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Public constructors

### WatchFaceEditorData

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

```
[WatchFaceEditorData](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#WatchFaceEditorData(android.graphics.drawable.Icon))(icon: Icon?)
```
| **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

### icon

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

```
val icon: Icon?
```
| **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 icon to use on the watch face editor in preference to[UserStyleSetting.icon](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting#icon()),[ListUserStyleSetting.ListOption.icon](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.ListUserStyleSetting.ListOption#icon())and[ComplicationSlotsOption.icon](https://developer.android.com/reference/kotlin/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption#icon()). This Icon should be smaller than the one used by the companion due to the watches smaller screen size.