MediaConstants


object MediaConstants


Summary

Constants

const 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.

Constants

ACTION_SHOW_MEDIA_PLAYBACK

Added in 1.8.0
const val ACTION_SHOW_MEDIA_PLAYBACKString

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