# MediaConstants

Artifact: [androidx.car.app:app](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/media/MediaConstants.kt+class:androidx.car.app.media.MediaConstants) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.8.0)

*** ** * ** ***


```
object MediaConstants
```

<br />

*** ** * ** ***

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/car/app/media/MediaConstants#ACTION_SHOW_MEDIA_PLAYBACK()` Intent Action sent to an application indicating that the playback screen should be opened if they have one, or the most relevant screen otherwise. |

## Constants

### ACTION_SHOW_MEDIA_PLAYBACK

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.8.0)

```
const val ACTION_SHOW_MEDIA_PLAYBACK: String
```

Intent Action sent to an application indicating that the playback screen should be opened if they have one, or the most relevant screen otherwise.

Starting in Car API 9, media apps must handle this action in `onNewIntent` (or intent handling) to route the user to their playback view. For more details, see `https://developer.android.com/reference/kotlin/androidx/car/app/media/model/MediaPlaybackTemplate`.