# ComplicationSlotBoundsType

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/ComplicationSlot.kt+class:androidx.wear.watchface.ComplicationSlotBoundsType) 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)

*** ** * ** ***


```
public static class ComplicationSlotBoundsType
```

<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

The various types of `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` bounds.

use Watch Face Format instead

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType#BACKGROUND() = 1` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType#EDGE() = 2` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `static final int` | `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType#ROUND_RECT() = 0` **This field is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public fields |
|---|---|
| `static @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType` | `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlotBoundsType#INSTANCE()` |

## Constants

### BACKGROUND

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)

```
public static final int BACKGROUND = 1
```

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

For a full screen image complication slot drawn behind the watch face. Note you can only have a single background complication slot.

### EDGE

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)

```
public static final int EDGE = 2
```

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

For edge of screen complication slots.

### ROUND_RECT

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)

```
public static final int ROUND_RECT = 0
```

> [!CAUTION]
> **This field 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, most complication slots are either circular or rounded rectangles.

## Public fields

### INSTANCE

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)

```
public static @NonNull ComplicationSlotBoundsType INSTANCE
```