# ComplicationSlotState

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

<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

A snapshot of the state of a watch face `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot`.

use Watch Face Format instead

## Summary

| ### Public constructors |
|---|
| `[ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle))( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds, int boundsType, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType defaultDataSourceType, boolean isEnabled, boolean isInitiallyEnabled, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType, boolean fixedComplicationDataSource, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras )` **This method is deprecated.** defaultDataSourceType is depreciated |
| `[ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle,kotlin.Int,kotlin.Int))( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds, int boundsType, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy, boolean isEnabled, boolean isInitiallyEnabled, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType, boolean fixedComplicationDataSource, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras, https://developer.android.com/reference/java/lang/Integer.html nameResourceId, https://developer.android.com/reference/java/lang/Integer.html screenReaderNameResourceId )` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `@https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationExperimental [ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle,kotlin.Int,kotlin.Int,androidx.wear.watchface.BoundingArc))( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds, int boundsType, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy, boolean isEnabled, boolean isInitiallyEnabled, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType, boolean fixedComplicationDataSource, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras, https://developer.android.com/reference/java/lang/Integer.html nameResourceId, https://developer.android.com/reference/java/lang/Integer.html screenReaderNameResourceId, https://developer.android.com/reference/androidx/wear/watchface/BoundingArc edgeComplicationBoundingArc )` **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/client/ComplicationSlotState#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 https://developer.android.com/reference/androidx/wear/watchface/BoundingArc` | `@https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationExperimental [getBoundingArc](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBoundingArc())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html` | `[getBounds](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBounds())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final int` | `[getBoundsType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBoundsType())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html` | `[getComplicationConfigExtras](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getComplicationConfigExtras())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` | `[getCurrentType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getCurrentType())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` | `[getDefaultDataSourcePolicy](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getDefaultDataSourcePolicy())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` | `[getDefaultDataSourceType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getDefaultDataSourceType())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final boolean` | `[getFixedComplicationDataSource](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getFixedComplicationDataSource())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/java/lang/Integer.html` | `[getNameResourceId](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getNameResourceId())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final https://developer.android.com/reference/java/lang/Integer.html` | `[getScreenReaderNameResourceId](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getScreenReaderNameResourceId())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType>` | `[getSupportedTypes](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getSupportedTypes())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `int` | `[hashCode](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#hashCode())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final boolean` | `[isEnabled](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#isEnabled())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `final boolean` | `[isInitiallyEnabled](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#isInitiallyEnabled())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `[toString](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#toString())()` **This method is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Public constructors

### ComplicationSlotState

```
public [ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle))(
    @NonNull Rect bounds,
    int boundsType,
    @NonNull List<@NonNull ComplicationType> supportedTypes,
    @NonNull DefaultComplicationDataSourcePolicy defaultDataSourcePolicy,
    @NonNull ComplicationType defaultDataSourceType,
    boolean isEnabled,
    boolean isInitiallyEnabled,
    @NonNull ComplicationType currentType,
    boolean fixedComplicationDataSource,
    @NonNull Bundle complicationConfigExtras
)
```

> [!CAUTION]
> **This method is deprecated.**   
> defaultDataSourceType is depreciated, use this instead:
>
> ```
> ComplicationSlotState(Rect, Int, List<ComplicationType>, DefaultComplicationDataSourcePolicy, Boolean, Boolean, ComplicationType, Boolean, Bundle)
> ```

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds` | Screen space bounds of the `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` in pixels. |
| `int boundsType` | The type of the complication's bounds. Value is one of the following: - `0` - `1` - `2` <br /> |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType`s supported by this complication. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` for this complication slot. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType defaultDataSourceType` | The default `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` for this complication. |
| `boolean isEnabled` | Whether or not the complication is currently enabled (i.e. it should be drawn). |
| `boolean isInitiallyEnabled` | Whether or not the complication was initially enabled before considering any `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption` whose `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay`s may enable or disable complicationSlots. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` of the complication's current `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationData`. |
| `boolean fixedComplicationDataSource` | Whether or not the complication data source is fixed (i.e the user can't configure it). |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras` | Extras to be merged into the Intent sent when invoking the complication data source chooser activity. |

### ComplicationSlotState

```
public [ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle,kotlin.Int,kotlin.Int))(
    @NonNull Rect bounds,
    int boundsType,
    @NonNull List<@NonNull ComplicationType> supportedTypes,
    @NonNull DefaultComplicationDataSourcePolicy defaultDataSourcePolicy,
    boolean isEnabled,
    boolean isInitiallyEnabled,
    @NonNull ComplicationType currentType,
    boolean fixedComplicationDataSource,
    @NonNull Bundle complicationConfigExtras,
    Integer nameResourceId,
    Integer screenReaderNameResourceId
)
```

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

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds` | Screen space bounds of the `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` in pixels. |
| `int boundsType` | The type of the complication's bounds. Value is one of the following: - `0` - `1` - `2` <br /> |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType`s supported by this complication. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` for this complication slot. |
| `boolean isEnabled` | Whether or not the complication is currently enabled (i.e. it should be drawn). |
| `boolean isInitiallyEnabled` | Whether or not the complication was initially enabled before considering any `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption` whose `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay`s may enable or disable complicationSlots. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` of the complication's current `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationData`. |
| `boolean fixedComplicationDataSource` | Whether or not the complication data source is fixed (i.e the user can't configure it). |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras` | Extras to be merged into the Intent sent when invoking the complication data source chooser activity. |
| `https://developer.android.com/reference/java/lang/Integer.html nameResourceId` | The ID of a string resource (or `null` if absent) to visually identify the complication slot in an editor. |
| `https://developer.android.com/reference/java/lang/Integer.html screenReaderNameResourceId` | The ID of a string resource (or `null` if absent) to identify the complication slot in a screen reader. |

### ComplicationSlotState

```
@ComplicationExperimental
public [ComplicationSlotState](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#ComplicationSlotState(android.graphics.Rect,kotlin.Int,kotlin.collections.List,androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy,kotlin.Boolean,kotlin.Boolean,androidx.wear.watchface.complications.data.ComplicationType,kotlin.Boolean,android.os.Bundle,kotlin.Int,kotlin.Int,androidx.wear.watchface.BoundingArc))(
    @NonNull Rect bounds,
    int boundsType,
    @NonNull List<@NonNull ComplicationType> supportedTypes,
    @NonNull DefaultComplicationDataSourcePolicy defaultDataSourcePolicy,
    boolean isEnabled,
    boolean isInitiallyEnabled,
    @NonNull ComplicationType currentType,
    boolean fixedComplicationDataSource,
    @NonNull Bundle complicationConfigExtras,
    Integer nameResourceId,
    Integer screenReaderNameResourceId,
    BoundingArc edgeComplicationBoundingArc
)
```

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

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html bounds` | Screen space bounds of the `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` in pixels. |
| `int boundsType` | The type of the complication's bounds. Value is one of the following: - `0` - `1` - `2` <br /> |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType> supportedTypes` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType`s supported by this complication. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy defaultDataSourcePolicy` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` for this complication slot. |
| `boolean isEnabled` | Whether or not the complication is currently enabled (i.e. it should be drawn). |
| `boolean isInitiallyEnabled` | Whether or not the complication was initially enabled before considering any `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption` whose `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay`s may enable or disable complicationSlots. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType currentType` | The `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` of the complication's current `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationData`. |
| `boolean fixedComplicationDataSource` | Whether or not the complication data source is fixed (i.e the user can't configure it). |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Bundle.html complicationConfigExtras` | Extras to be merged into the Intent sent when invoking the complication data source chooser activity. |
| `https://developer.android.com/reference/java/lang/Integer.html nameResourceId` | The ID of a string resource (or `null` if absent) to visually identify the complication slot in an editor. |
| `https://developer.android.com/reference/java/lang/Integer.html screenReaderNameResourceId` | The ID of a string resource (or `null` if absent) to identify the complication slot in a screen reader. |
| `https://developer.android.com/reference/androidx/wear/watchface/BoundingArc edgeComplicationBoundingArc` | The `https://developer.android.com/reference/androidx/wear/watchface/BoundingArc` describing the geometry of an edge complication if specified, or `null` otherwise. |

## Public methods

### equals

```
public boolean [equals](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#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

### getBoundingArc

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)

```
@ComplicationExperimental
public final BoundingArc [getBoundingArc](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBoundingArc())()
```

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

Describes the geometry of an edge complication if specified, or `null` otherwise.

### getBounds

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 @NonNull Rect [getBounds](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBounds())()
```

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

Screen space bounds of the `https://developer.android.com/reference/androidx/wear/watchface/ComplicationSlot` in pixels.

### getBoundsType

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 [getBoundsType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getBoundsType())()
```

> [!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 type of the complication's bounds.

### getComplicationConfigExtras

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 @NonNull Bundle [getComplicationConfigExtras](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getComplicationConfigExtras())()
```

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

Extras to be merged into the Intent sent when invoking the complication data source chooser activity.

### getCurrentType

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 @NonNull ComplicationType [getCurrentType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getCurrentType())()
```

> [!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 `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` of the complication's current `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationData`.

### getDefaultDataSourcePolicy

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 @NonNull DefaultComplicationDataSourcePolicy [getDefaultDataSourcePolicy](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getDefaultDataSourcePolicy())()
```

> [!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 `https://developer.android.com/reference/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` for this complication slot.

### getDefaultDataSourceType

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

```
public final @NonNull ComplicationType [getDefaultDataSourceType](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getDefaultDataSourceType())()
```

> [!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 default `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType` for this complication.

### getFixedComplicationDataSource

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 boolean [getFixedComplicationDataSource](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getFixedComplicationDataSource())()
```

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

Whether or not the complication data source is fixed (i.e the user can't configure it).

### getNameResourceId

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 Integer [getNameResourceId](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getNameResourceId())()
```

> [!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 ID of a string resource (or `null` if absent) to identify the complication slot visually in an editor. This is supposed to be short and without the word complication in it.

### getScreenReaderNameResourceId

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 Integer [getScreenReaderNameResourceId](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getScreenReaderNameResourceId())()
```

> [!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 ID of a string resource (or `null` if absent) to identify the complication slot in a screen reader. This is supposed to be a complete sentence.

### getSupportedTypes

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 @NonNull List<@NonNull ComplicationType> [getSupportedTypes](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#getSupportedTypes())()
```

> [!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 `https://developer.android.com/reference/androidx/wear/watchface/complications/data/ComplicationType`s supported by this complication.

### hashCode

```
public int [hashCode](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#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

### isEnabled

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 boolean [isEnabled](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#isEnabled())()
```

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

Whether or not the complication is currently enabled (i.e. it should be drawn.

### isInitiallyEnabled

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 boolean [isInitiallyEnabled](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#isInitiallyEnabled())()
```

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

Whether or not the complication was initially enabled before considering any `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotsOption` whose `https://developer.android.com/reference/androidx/wear/watchface/style/UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay`s may enable or disable complicationSlots.

### toString

```
public @NonNull String [toString](https://developer.android.com/reference/androidx/wear/watchface/client/ComplicationSlotState#toString())()
```

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