# 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)

*** ** * ** ***


```
public static class MediaConstants
```

<br />

*** ** * ** ***

## Summary

| ### Constants |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/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. |

| ### Public fields |
|---|---|
| `static @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/car/app/media/MediaConstants` | `https://developer.android.com/reference/androidx/car/app/media/MediaConstants#INSTANCE()` |

## Constants

### ACTION_SHOW_MEDIA_PLAYBACK

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

```
public static final @NonNull String 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.

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/androidx/car/app/media/model/MediaPlaybackTemplate`.

## Public fields

### INSTANCE

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

```
public static @NonNull MediaConstants INSTANCE
```