> Documentation index: https://developer.android.com/reference/llms.txt

# RemoteIconToggleButtonColors

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteIconToggleButton.kt+class:androidx.wear.compose.remote.material3.RemoteIconToggleButtonColors) Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)


```
class RemoteIconToggleButtonColors
```

<br />

*** ** * ** ***

Represents the different container and content colors used for `RemoteIconToggleButton` in various states, that are checked, unchecked, enabled and disabled.

See `RemoteIconToggleButtonDefaults.colors` for the default colors used in a `RemoteIconToggleButton`.

## Summary

| ### Public constructors |
|---|
| `RemoteIconToggleButtonColors( checkedContainerColor: RemoteColor, checkedContentColor: RemoteColor, uncheckedContainerColor: RemoteColor, uncheckedContentColor: RemoteColor, disabledCheckedContainerColor: RemoteColor, disabledCheckedContentColor: RemoteColor, disabledUncheckedContainerColor: RemoteColor, disabledUncheckedContentColor: RemoteColor )` |

| ### Public functions |
|---|---|
| `RemoteIconToggleButtonColors` | `copy( checkedContainerColor: RemoteColor, checkedContentColor: RemoteColor, uncheckedContainerColor: RemoteColor, uncheckedContentColor: RemoteColor, disabledCheckedContainerColor: RemoteColor, disabledCheckedContentColor: RemoteColor, disabledUncheckedContainerColor: RemoteColor, disabledUncheckedContentColor: RemoteColor )` Returns a copy of this `RemoteIconToggleButtonColors` optionally overriding some of the values. |
| `open operator Boolean` | `equals(other: Any?)` |
| `open Int` | `hashCode()` |

| ### Public properties |
|---|---|
| `RemoteColor` | `checkedContainerColor` Container or background color when the toggle button is checked |
| `RemoteColor` | `checkedContentColor` Color of the content (e.g. icon) when the toggle button is checked |
| `RemoteColor` | `disabledCheckedContainerColor` Container or background color when the toggle button is disabled and checked |
| `RemoteColor` | `disabledCheckedContentColor` Color of content (e.g. icon) when the toggle button is disabled and checked |
| `RemoteColor` | `disabledUncheckedContainerColor` Container or background color when the toggle button is disabled and unchecked |
| `RemoteColor` | `disabledUncheckedContentColor` Color of the content (e.g. icon) when the toggle button is disabled and unchecked |
| `RemoteColor` | `uncheckedContainerColor` Container or background color when the toggle button is unchecked |
| `RemoteColor` | `uncheckedContentColor` Color of the content (e.g. icon) when the toggle button is unchecked |

## Public constructors

### RemoteIconToggleButtonColors

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
RemoteIconToggleButtonColors(
    checkedContainerColor: RemoteColor,
    checkedContentColor: RemoteColor,
    uncheckedContainerColor: RemoteColor,
    uncheckedContentColor: RemoteColor,
    disabledCheckedContainerColor: RemoteColor,
    disabledCheckedContentColor: RemoteColor,
    disabledUncheckedContainerColor: RemoteColor,
    disabledUncheckedContentColor: RemoteColor
)
```

| Parameters |
|---|---|
| `checkedContainerColor: RemoteColor` | Container or background color when the toggle button is checked |
| `checkedContentColor: RemoteColor` | Color of the content (e.g. icon) when the toggle button is checked |
| `uncheckedContainerColor: RemoteColor` | Container or background color when the toggle button is unchecked |
| `uncheckedContentColor: RemoteColor` | Color of the content (e.g. icon) when the toggle button is unchecked |
| `disabledCheckedContainerColor: RemoteColor` | Container or background color when the toggle button is disabled and checked |
| `disabledCheckedContentColor: RemoteColor` | Color of content (e.g. icon) when the toggle button is disabled and checked |
| `disabledUncheckedContainerColor: RemoteColor` | Container or background color when the toggle button is disabled and unchecked |
| `disabledUncheckedContentColor: RemoteColor` | Color of the content (e.g. icon) when the toggle button is disabled and unchecked |

## Public functions

### copy

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
fun copy(
    checkedContainerColor: RemoteColor = this.checkedContainerColor,
    checkedContentColor: RemoteColor = this.checkedContentColor,
    uncheckedContainerColor: RemoteColor = this.uncheckedContainerColor,
    uncheckedContentColor: RemoteColor = this.uncheckedContentColor,
    disabledCheckedContainerColor: RemoteColor = this.disabledCheckedContainerColor,
    disabledCheckedContentColor: RemoteColor = this.disabledCheckedContentColor,
    disabledUncheckedContainerColor: RemoteColor = this.disabledUncheckedContainerColor,
    disabledUncheckedContentColor: RemoteColor = this.disabledUncheckedContentColor
): RemoteIconToggleButtonColors
```

Returns a copy of this `RemoteIconToggleButtonColors` optionally overriding some of the values.

| Parameters |
|---|---|
| `checkedContainerColor: RemoteColor = this.checkedContainerColor` | Container or background color when the toggle button is checked |
| `checkedContentColor: RemoteColor = this.checkedContentColor` | Color of the content (e.g. icon) when the toggle button is checked |
| `uncheckedContainerColor: RemoteColor = this.uncheckedContainerColor` | Container or background color when the toggle button is unchecked |
| `uncheckedContentColor: RemoteColor = this.uncheckedContentColor` | Color of the content (e.g. icon) when the toggle button is unchecked |
| `disabledCheckedContainerColor: RemoteColor = this.disabledCheckedContainerColor` | Container or background color when the toggle button is disabled and checked |
| `disabledCheckedContentColor: RemoteColor = this.disabledCheckedContentColor` | Color of content (e.g. icon) when the toggle button is disabled and checked |
| `disabledUncheckedContainerColor: RemoteColor = this.disabledUncheckedContainerColor` | Container or background color when the toggle button is disabled and unchecked |
| `disabledUncheckedContentColor: RemoteColor = this.disabledUncheckedContentColor` | Color of the content (e.g. icon) when the toggle button is disabled and unchecked |

| Returns |
|---|---|
| `RemoteIconToggleButtonColors` | a copy of this `RemoteIconToggleButtonColors` with the specified values overridden |

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### checkedContainerColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val checkedContainerColor: RemoteColor
```

Container or background color when the toggle button is checked

### checkedContentColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val checkedContentColor: RemoteColor
```

Color of the content (e.g. icon) when the toggle button is checked

### disabledCheckedContainerColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val disabledCheckedContainerColor: RemoteColor
```

Container or background color when the toggle button is disabled and checked

### disabledCheckedContentColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val disabledCheckedContentColor: RemoteColor
```

Color of content (e.g. icon) when the toggle button is disabled and checked

### disabledUncheckedContainerColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val disabledUncheckedContainerColor: RemoteColor
```

Container or background color when the toggle button is disabled and unchecked

### disabledUncheckedContentColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val disabledUncheckedContentColor: RemoteColor
```

Color of the content (e.g. icon) when the toggle button is disabled and unchecked

### uncheckedContainerColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val uncheckedContainerColor: RemoteColor
```

Container or background color when the toggle button is unchecked

### uncheckedContentColor

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val uncheckedContentColor: RemoteColor
```

Color of the content (e.g. icon) when the toggle button is unchecked