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

*** ** * ** ***


```
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/kotlin/androidx/wear/watchface/ComplicationSlot`.

use Watch Face Format instead

## Summary

| ### Public constructors |
|---|
| `[ComplicationSlotState](https://developer.android.com/reference/kotlin/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))( bounds: https://developer.android.com/reference/android/graphics/Rect.html, boundsType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, supportedTypes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType>, defaultDataSourcePolicy: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy, defaultDataSourceType: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType, isEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isInitiallyEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, currentType: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType, fixedComplicationDataSource: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, complicationConfigExtras: https://developer.android.com/reference/android/os/Bundle.html )` **This function is deprecated.** defaultDataSourceType is depreciated |
| `[ComplicationSlotState](https://developer.android.com/reference/kotlin/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))( bounds: https://developer.android.com/reference/android/graphics/Rect.html, boundsType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, supportedTypes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType>, defaultDataSourcePolicy: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy, isEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isInitiallyEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, currentType: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType, fixedComplicationDataSource: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, complicationConfigExtras: https://developer.android.com/reference/android/os/Bundle.html, nameResourceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html?, screenReaderNameResourceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html? )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `@https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationExperimental [ComplicationSlotState](https://developer.android.com/reference/kotlin/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))( bounds: https://developer.android.com/reference/android/graphics/Rect.html, boundsType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, supportedTypes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType>, defaultDataSourcePolicy: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy, isEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isInitiallyEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, currentType: https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType, fixedComplicationDataSource: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, complicationConfigExtras: https://developer.android.com/reference/android/os/Bundle.html, nameResourceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html?, screenReaderNameResourceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html?, edgeComplicationBoundingArc: https://developer.android.com/reference/kotlin/androidx/wear/watchface/BoundingArc? )` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `[equals](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#equals(kotlin.Any))(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/BoundingArc?` | `@https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationExperimental [getBoundingArc](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#getBoundingArc())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `[hashCode](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#hashCode())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `[toString](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#toString())()` **This function is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/android/graphics/Rect.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#bounds()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#boundsType()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://developer.android.com/reference/android/os/Bundle.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#complicationConfigExtras()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#currentType()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/DefaultComplicationDataSourcePolicy` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#defaultDataSourcePolicy()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#defaultDataSourceType()` **This property is deprecated.** Use defaultDataSourcePolicy.systemDataSourceFallbackDefaultType instead |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#fixedComplicationDataSource()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#isEnabled()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#isInitiallyEnabled()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html?` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#nameResourceId()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html?` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#screenReaderNameResourceId()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType>` | `https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#supportedTypes()` **This property is deprecated.** AndroidX watchface libraries are deprecated, use Watch Face Format instead. |

## Public constructors

### ComplicationSlotState

```
[ComplicationSlotState](https://developer.android.com/reference/kotlin/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))(
    bounds: Rect,
    boundsType: Int,
    supportedTypes: List<ComplicationType>,
    defaultDataSourcePolicy: DefaultComplicationDataSourcePolicy,
    defaultDataSourceType: ComplicationType,
    isEnabled: Boolean,
    isInitiallyEnabled: Boolean,
    currentType: ComplicationType,
    fixedComplicationDataSource: Boolean,
    complicationConfigExtras: Bundle
)
```

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

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

### ComplicationSlotState

```
[ComplicationSlotState](https://developer.android.com/reference/kotlin/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))(
    bounds: Rect,
    boundsType: Int,
    supportedTypes: List<ComplicationType>,
    defaultDataSourcePolicy: DefaultComplicationDataSourcePolicy,
    isEnabled: Boolean,
    isInitiallyEnabled: Boolean,
    currentType: ComplicationType,
    fixedComplicationDataSource: Boolean,
    complicationConfigExtras: Bundle,
    nameResourceId: Int?,
    screenReaderNameResourceId: Int?
)
```

> [!CAUTION]
> **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

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

### ComplicationSlotState

```
@ComplicationExperimental
[ComplicationSlotState](https://developer.android.com/reference/kotlin/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))(
    bounds: Rect,
    boundsType: Int,
    supportedTypes: List<ComplicationType>,
    defaultDataSourcePolicy: DefaultComplicationDataSourcePolicy,
    isEnabled: Boolean,
    isInitiallyEnabled: Boolean,
    currentType: ComplicationType,
    fixedComplicationDataSource: Boolean,
    complicationConfigExtras: Bundle,
    nameResourceId: Int?,
    screenReaderNameResourceId: Int?,
    edgeComplicationBoundingArc: BoundingArc?
)
```

> [!CAUTION]
> **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

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

## Public functions

### equals

```
open operator fun [equals](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#equals(kotlin.Any))(other: Any?): Boolean
```

> [!CAUTION]
> **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

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

> [!CAUTION]
> **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

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

### hashCode

```
open fun [hashCode](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#hashCode())(): Int
```

> [!CAUTION]
> **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

### toString

```
open fun [toString](https://developer.android.com/reference/kotlin/androidx/wear/watchface/client/ComplicationSlotState#toString())(): String
```

> [!CAUTION]
> **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

### bounds

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)

```
val bounds: Rect
```

> [!CAUTION]
> **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

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

### boundsType

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)

```
val boundsType: Int
```

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

Value is one of the following:

- `0`
- `1`
- `2`

<br />

### complicationConfigExtras

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)

```
val complicationConfigExtras: Bundle
```

> [!CAUTION]
> **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

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

### currentType

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)

```
val currentType: ComplicationType
```

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

### defaultDataSourcePolicy

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)

```
val defaultDataSourcePolicy: DefaultComplicationDataSourcePolicy
```

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

### defaultDataSourceType

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)

```
val defaultDataSourceType: ComplicationType
```

> [!CAUTION]
> **This property is deprecated.**   
> Use defaultDataSourcePolicy.systemDataSourceFallbackDefaultType instead

The default `https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/ComplicationType` for this complication.

### fixedComplicationDataSource

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)

```
val fixedComplicationDataSource: Boolean
```

> [!CAUTION]
> **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

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

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

```
val isEnabled: Boolean
```

> [!CAUTION]
> **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

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)

```
val isInitiallyEnabled: Boolean
```

> [!CAUTION]
> **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

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

### nameResourceId

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 nameResourceId: Int?
```

> [!CAUTION]
> **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 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.

### screenReaderNameResourceId

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 screenReaderNameResourceId: Int?
```

> [!CAUTION]
> **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 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.

### supportedTypes

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)

```
val supportedTypes: List<ComplicationType>
```

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