# ProgressIndicatorColors

Artifact: [androidx.wear.tiles:tiles-material](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/material/ProgressIndicatorColors.java+class:androidx.wear.tiles.material.ProgressIndicatorColors) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
class ProgressIndicatorColors
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> Use the new class `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material/ProgressIndicatorColors` which provides the same API and functionality.

Represents the indicator and track colors used in a progress indicator Tiles component.

See `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorDefaults#DEFAULT_COLORS()` for the default colors used in a `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/CircularProgressIndicator`.

## Summary

| ### Public constructors |
|---|
| `[ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#ProgressIndicatorColors(androidx.wear.tiles.ColorBuilders.ColorProp,androidx.wear.tiles.ColorBuilders.ColorProp))( indicatorColor: https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp, trackColor: https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp )` **This function is deprecated.** Deprecated in Java |
| `[ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#ProgressIndicatorColors(int,int))( indicatorColor: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, trackColor: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` **This function is deprecated.** Deprecated in Java |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp` | `[getIndicatorColor](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#getIndicatorColor())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp` | `[getTrackColor](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#getTrackColor())()` **This function is deprecated.** Deprecated in Java |
| `java-static https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors` | `[progressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#progressIndicatorColors(androidx.wear.tiles.material.Colors))(colors: https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/Colors)` **This function is deprecated.** Deprecated in Java |

## Public constructors

### ProgressIndicatorColors

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

```
[ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#ProgressIndicatorColors(androidx.wear.tiles.ColorBuilders.ColorProp,androidx.wear.tiles.ColorBuilders.ColorProp))(
    indicatorColor: ColorBuilders.ColorProp,
    trackColor: ColorBuilders.ColorProp
)
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Constructor for `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors` object.

| Parameters |
|---|---|
| `indicatorColor: https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp` | The indicator color to be used for a progress indicator Tiles component. |
| `trackColor: https://developer.android.com/reference/kotlin/androidx/wear/tiles/ColorBuilders.ColorProp` | The background track color to be used for a progress indicator Tiles component. |

### ProgressIndicatorColors

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

```
[ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#ProgressIndicatorColors(int,int))(
    indicatorColor: @ColorInt Int,
    trackColor: @ColorInt Int
)
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Constructor for `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors` object.

| Parameters |
|---|---|
| `indicatorColor: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The indicator color to be used for a progress indicator Tiles component. Should be in ARGB format. |
| `trackColor: @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The background track color to be used for a progress indicator Tiles component. Should be in ARGB format. |

## Public functions

### getIndicatorColor

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

```
fun [getIndicatorColor](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#getIndicatorColor())(): ColorBuilders.ColorProp
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

The indicator color to be used for a progress indicator Tiles component.

### getTrackColor

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

```
fun [getTrackColor](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#getTrackColor())(): ColorBuilders.ColorProp
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

The background track color to be used for a progress indicator Tiles component.

### progressIndicatorColors

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

```
java-static fun [progressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors#progressIndicatorColors(androidx.wear.tiles.material.Colors))(colors: Colors): ProgressIndicatorColors
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Returns a `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/ProgressIndicatorColors` object, using the current Primary color for indicator color and the current Surface color for the track color from the given `https://developer.android.com/reference/kotlin/androidx/wear/tiles/material/Colors`.