# RenderParameters.HighlightedElement.ComplicationSlot

Artifact: [androidx.wear.watchface:watchface](https://developer.android.com/jetpack/androidx/releases/wear-watchface) [View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/RenderParameters.kt+class:androidx.wear.watchface.RenderParameters.HighlightedElement.ComplicationSlot) 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)

*** ** * ** ***

<br />

```
public final class RenderParameters.HighlightedElement.ComplicationSlot extends RenderParameters.HighlightedElement
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.wear.watchface.RenderParameters.HighlightedElement](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement) ||
|   | ↳ | [androidx.wear.watchface.RenderParameters.HighlightedElement.ComplicationSlot](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot) |

*** ** * ** ***

> [!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

A single `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` with the specified `https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#id()` will be highlighted.

## Summary

| ### Public constructors |
|---|
| `[ComplicationSlot](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#ComplicationSlot(kotlin.Int))(int id)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public methods |
|---|---|
| `boolean` | `[equals](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#equals(kotlin.Any))(https://developer.android.com/reference/java/lang/Object.html other)` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final int` | `[getId](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#getId())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `int` | `[hashCode](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#hashCode())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Public constructors

### ComplicationSlot

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)

```
public [ComplicationSlot](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#ComplicationSlot(kotlin.Int))(int id)
```

> [!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

### equals

```
public boolean [equals](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#equals(kotlin.Any))(Object other)
```

> [!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

### getId

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)

```
public final int [getId](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#getId())()
```

> [!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

### hashCode

```
public int [hashCode](https://developer.android.com/reference/androidx/wear/watchface/RenderParameters.HighlightedElement.ComplicationSlot#hashCode())()
```

> [!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