# 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)

*** ** * ** ***


```
public final class UserStyleSetting.WatchFaceEditorData
```

<br />

*** ** * ** ***

> [!CAUTION]
> **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/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#WatchFaceEditorData(android.graphics.drawable.Icon))(https://developer.android.com/reference/android/graphics/drawable/Icon.html icon)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public methods |
|---|---|
| `final https://developer.android.com/reference/android/graphics/drawable/Icon.html` | `[getIcon](https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#getIcon())()` **This method 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)

```
public [WatchFaceEditorData](https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#WatchFaceEditorData(android.graphics.drawable.Icon))(Icon icon)
```

> [!CAUTION]
> **This method is deprecated.**   
> AndroidX watchface libraries are deprecated, use Watch Face Format instead. For more info see: https://developer.android.com/training/wearables/wff

## Public methods

### getIcon

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)

```
public final Icon [getIcon](https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.WatchFaceEditorData#getIcon())()
```

> [!CAUTION]
> **This method 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 `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting#icon()`, `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ListUserStyleSetting.ListOption#icon()` and `https://developer.android.com/reference/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.