# LiveButtonDefaults

Artifact: [androidx.media3:media3-ui-compose-material3](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/ui/compose/material3/buttons/LiveButton.kt+class:androidx.media3.ui.compose.material3.buttons.LiveButtonDefaults)


```
@UnstableApi
object LiveButtonDefaults
```

<br />

*** ** * ** ***

Contains default values used by `https://developer.android.com/reference/kotlin/androidx/media3/ui/compose/material3/buttons/LiveButton.composable#LiveButton(androidx.media3.common.Player,androidx.compose.ui.Modifier,kotlin.Long,androidx.compose.material3.ButtonColors,kotlinx.coroutines.CoroutineScope,kotlin.Function1)`.

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ButtonColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/media3/ui/compose/material3/buttons/LiveButtonDefaults#textButtonColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)(contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ButtonColors` that represents the default colors used in a `https://developer.android.com/reference/kotlin/androidx/media3/ui/compose/material3/buttons/LiveButton.composable#LiveButton(androidx.media3.common.Player,androidx.compose.ui.Modifier,kotlin.Long,androidx.compose.material3.ButtonColors,kotlinx.coroutines.CoroutineScope,kotlin.Function1)`. |

## Public functions

### textButtonColors

```
@Composable
fun textButtonColors(
    contentColor: Color = MaterialTheme.colorScheme.onSurfaceVariant,
    disabledContentColor: Color = Color.Red
): ButtonColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ButtonColors` that represents the default colors used in a `https://developer.android.com/reference/kotlin/androidx/media3/ui/compose/material3/buttons/LiveButton.composable#LiveButton(androidx.media3.common.Player,androidx.compose.ui.Modifier,kotlin.Long,androidx.compose.material3.ButtonColors,kotlinx.coroutines.CoroutineScope,kotlin.Function1)`.

| Parameters |
|---|---|
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = MaterialTheme.colorScheme.onSurfaceVariant` | The content color of the button when enabled (behind the live edge). |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Red` | The content color of the button when disabled (at the live edge). |