<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object ConfirmationDialogDefaults
```

Contains default values used by [ConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/ConfirmationDialog) composable.

## Functions

<h2 id="successicon-modifier">SuccessIcon</h2>

```kotlin
@Composable
public fun SuccessIcon(modifier: Modifier = Modifier)
```

A default composable used in [SuccessConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/SuccessConfirmationDialog) that displays a success icon with an
animation.

#### Parameters

| | |
| --- | --- |
| modifier | Modifier to be applied to the success icon. |

<hr class="docs-overload-divider">

<h2 id="connectionfailureicon-modifier">ConnectionFailureIcon</h2>

```kotlin
@Composable
public fun ConnectionFailureIcon(modifier: Modifier = Modifier)
```

A default composable used in [FailureConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/FailureConfirmationDialog) that displays a broken connection to
the phone icon with an animation.

#### Parameters

| | |
| --- | --- |
| modifier | Modifier to be applied to the failure icon. |

<hr class="docs-overload-divider">

<h2 id="failureicon-modifier">FailureIcon</h2>

```kotlin
@Composable
public fun FailureIcon(modifier: Modifier = Modifier): Unit
```

A default composable used in [FailureConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/FailureConfirmationDialog) that displays a broken connection to
the phone icon with an animation.

#### Parameters

| | |
| --- | --- |
| modifier | Modifier to be applied to the failure icon. |

<hr class="docs-overload-divider">

<h2 id="genericfailureicon-modifier">GenericFailureIcon</h2>

```kotlin
@Composable
public fun GenericFailureIcon(modifier: Modifier = Modifier)
```

A default composable used in [FailureConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/FailureConfirmationDialog) that displays a generic error icon.

#### Parameters

| | |
| --- | --- |
| modifier | Modifier to be applied to the failure icon. |

<hr class="docs-overload-divider">

<h2 id="colors">colors</h2>

```kotlin
@Composable
public fun colors(): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) that represents the default colors used in a
[ConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/ConfirmationDialog).

<hr class="docs-overload-divider">

<h2 id="colors-iconcolor-iconcontainercolor-textcolor">colors</h2>

```kotlin
@Composable
public fun colors(
    iconColor: Color = Color.Unspecified,
    iconContainerColor: Color = Color.Unspecified,
    textColor: Color = Color.Unspecified,
): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) with modified colors used in [ConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/ConfirmationDialog).

#### Parameters

| | |
| --- | --- |
| iconColor | The icon color. |
| iconContainerColor | The icon container color. |
| textColor | The text color. |

<hr class="docs-overload-divider">

<h2 id="successcolors">successColors</h2>

```kotlin
@Composable
public fun successColors(): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) that represents the default colors used in a
[SuccessConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/SuccessConfirmationDialog).

<hr class="docs-overload-divider">

<h2 id="successcolors-iconcolor-iconcontainercolor-textcolor">successColors</h2>

```kotlin
@Composable
public fun successColors(
    iconColor: Color = Color.Unspecified,
    iconContainerColor: Color = Color.Unspecified,
    textColor: Color = Color.Unspecified,
): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) with modified colors used in
[SuccessConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/SuccessConfirmationDialog).

#### Parameters

| | |
| --- | --- |
| iconColor | The icon color. |
| iconContainerColor | The icon container color. |
| textColor | The text color. |

<hr class="docs-overload-divider">

<h2 id="failurecolors">failureColors</h2>

```kotlin
@Composable
public fun failureColors(): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) that represents the default colors used in a
[FailureConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/FailureConfirmationDialog).

<hr class="docs-overload-divider">

<h2 id="failurecolors-iconcolor-iconcontainercolor-textcolor">failureColors</h2>

```kotlin
@Composable
public fun failureColors(
    iconColor: Color = Color.Unspecified,
    iconContainerColor: Color = Color.Unspecified,
    textColor: Color = Color.Unspecified,
): ConfirmationDialogColors
```

Creates a [ConfirmationDialogColors](/jetpack-compose/androidx.wear.compose/compose-material3/classes/ConfirmationDialogColors) with modified colors used in
[FailureConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/FailureConfirmationDialog).

#### Parameters

| | |
| --- | --- |
| iconColor | The icon color. |
| iconContainerColor | The icon container color. |
| textColor | The text color. |