# AudioCallContent

The `AudioOnlyCallContent` component is an alternative to the [`CallContent`](https://getstream.io/video/docs/android/ui-components/call/call-content/) if you want to have audio calls only.

>
> **Note:** The `AudioOnlyCallContent` by itself does not make the call audio only.
> In order to have true audio only call you must update the capabilities of the call type and disable video via the [Stream dashboard](https://getstream.io/signin/?product=video).
> The call can still stream video if this is allowed by the call configuration. See [call types](https://getstream.io/video/docs/android/guides/configuring-call-types/) for more details.
>

>
> **Warning:** The older `AudioCallContent` component is deprecated. Use `AudioOnlyCallContent` instead.
>

This component renders a call UI similar to the [ringing calls](https://getstream.io/video/docs/android/ui-components/call/ringing-call/) UI and has parameters (without the `videoRenderer` etc..) similar to [`CallContent`](https://getstream.io/video/docs/android/ui-components/call/call-content/) component.
Based on the call state, the `AudioOnlyCallContent` provides the call participants and call timer along with controls to leave the call or mute self.
Let's see how to show the `AudioOnlyCallContent` UI.

> **Note**: If you want to learn more about our component types, make sure to read through our [Compose Components Overview](https://getstream.io/video/docs/android/ui-components/overview/).

## Build a Call Screen With AudioOnlyCallContent

To use the **bound** `AudioOnlyCallContent`, add it to your UI within `VideoTheme`:

```kotlin
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContent {
        VideoTheme {
            AudioOnlyCallContent(
                call = call,
                isMicrophoneEnabled = true
            )
        }
    }
}
```

You can customize and gain more control over the component by utilizing its parameters:

| Attribute             | Description                                                                                                        |
| --------------------- | ------------------------------------------------------------------------------------------------------------------ |
| `modifier`            | The standard Jetpack Compose modifier used to style things like the component size, background, shape and similar. |
| `call`                | The call includes states and will be rendered with participants.                                                   |
| `isMicrophoneEnabled` | Whether or not the microphone icon will show the mic as enabled or not.                                            |
| `permissions`         | Android permissions that should be requested.                                                                      |
| `isShowingHeader`     | If true, header content is shown.                                                                                  |
| `headerContent`       | Content that overrides the header.                                                                                 |
| `durationPlaceholder` | Content (text) shown while the duration is not available.                                                          |
| `detailsContent`      | Content that overrides the details (the middle part of the screen).                                                |
| `controlsContent`     | Content that allows users to trigger call actions.                                                                 |
| `onCallAction`        | Handler used when the user triggers a Call Control Action.                                                         |
| `onBackPressed`       | Handler used when the user taps on the back button.                                                                |

---

For the most recent version of this documentation, visit [https://getstream.io/video/docs/android/ui-components/call/audio-call-content/](https://getstream.io/video/docs/android/ui-components/call/audio-call-content/).