# android.support.media.tv

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

# android.support.media.tv

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
| [TvContractCompat.BaseTvColumns](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.BaseTvColumns) | Common base for the tables of TV channels/programs. |

## Classes

|-------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Channel](https://developer.android.com/reference/android/support/media/tv/Channel)                                                       | A convenience class to access[TvContractCompat.Channels](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels)entries in the system content provider.                   |
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder)                                       | The builder class that makes it easy to chain setters to create a[Channel](https://developer.android.com/reference/android/support/media/tv/Channel)object.                                                   |
| [ChannelLogoUtils](https://developer.android.com/reference/android/support/media/tv/ChannelLogoUtils)                                     | A utility class for conveniently storing and loading channel logos.                                                                                                                                           |
| [PreviewProgram](https://developer.android.com/reference/android/support/media/tv/PreviewProgram)                                         | A convenience class to access[TvContractCompat.PreviewPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.PreviewPrograms)entries in the system content provider.     |
| [PreviewProgram.Builder](https://developer.android.com/reference/android/support/media/tv/PreviewProgram.Builder)                         | This Builder class simplifies the creation of a[PreviewProgram](https://developer.android.com/reference/android/support/media/tv/PreviewProgram)object.                                                       |
| [Program](https://developer.android.com/reference/android/support/media/tv/Program)                                                       | A convenience class to access[TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs)entries in the system content provider.                   |
| [Program.Builder](https://developer.android.com/reference/android/support/media/tv/Program.Builder)                                       | This Builder class simplifies the creation of a[Program](https://developer.android.com/reference/android/support/media/tv/Program)object.                                                                     |
| [R](https://developer.android.com/reference/android/support/media/tv/R)                                                                   |                                                                                                                                                                                                               |
| [R.attr](https://developer.android.com/reference/android/support/media/tv/R.attr)                                                         |                                                                                                                                                                                                               |
| [R.bool](https://developer.android.com/reference/android/support/media/tv/R.bool)                                                         |                                                                                                                                                                                                               |
| [R.color](https://developer.android.com/reference/android/support/media/tv/R.color)                                                       |                                                                                                                                                                                                               |
| [R.dimen](https://developer.android.com/reference/android/support/media/tv/R.dimen)                                                       |                                                                                                                                                                                                               |
| [R.drawable](https://developer.android.com/reference/android/support/media/tv/R.drawable)                                                 |                                                                                                                                                                                                               |
| [R.id](https://developer.android.com/reference/android/support/media/tv/R.id)                                                             |                                                                                                                                                                                                               |
| [R.integer](https://developer.android.com/reference/android/support/media/tv/R.integer)                                                   |                                                                                                                                                                                                               |
| [R.layout](https://developer.android.com/reference/android/support/media/tv/R.layout)                                                     |                                                                                                                                                                                                               |
| [R.string](https://developer.android.com/reference/android/support/media/tv/R.string)                                                     |                                                                                                                                                                                                               |
| [R.style](https://developer.android.com/reference/android/support/media/tv/R.style)                                                       |                                                                                                                                                                                                               |
| [R.styleable](https://developer.android.com/reference/android/support/media/tv/R.styleable)                                               |                                                                                                                                                                                                               |
| [TvContractCompat](https://developer.android.com/reference/android/support/media/tv/TvContractCompat)                                     | The contract between the TV provider and applications.                                                                                                                                                        |
| [TvContractCompat.Channels](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels)                   | Column definitions for the TV channels table.                                                                                                                                                                 |
| [TvContractCompat.Channels.Logo](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels.Logo)         | A sub-directory of a single TV channel that represents its primary logo.                                                                                                                                      |
| [TvContractCompat.PreviewPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.PreviewPrograms)     | Column definitions for the preview TV programs table.                                                                                                                                                         |
| [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs)                   | Column definitions for the TV programs table.                                                                                                                                                                 |
| [TvContractCompat.Programs.Genres](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs.Genres)     | Canonical genres for TV programs.                                                                                                                                                                             |
| [TvContractCompat.RecordedPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.RecordedPrograms)   | Column definitions for the recorded TV programs table.                                                                                                                                                        |
| [TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms) | Column definitions for the "watch next" TV programs table.                                                                                                                                                    |
| [WatchNextProgram](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram)                                     | A convenience class to access[TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms)entries in the system content provider. |
| [WatchNextProgram.Builder](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram.Builder)                     | This Builder class simplifies the creation of a[WatchNextProgram](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram)object.                                                   |

-

  ## Interfaces

  - [TvContractCompat.BaseTvColumns](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.BaseTvColumns)
-

  ## Classes

  - [Channel](https://developer.android.com/reference/android/support/media/tv/Channel)
  - [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder)
  - [ChannelLogoUtils](https://developer.android.com/reference/android/support/media/tv/ChannelLogoUtils)
  - [PreviewProgram](https://developer.android.com/reference/android/support/media/tv/PreviewProgram)
  - [PreviewProgram.Builder](https://developer.android.com/reference/android/support/media/tv/PreviewProgram.Builder)
  - [Program](https://developer.android.com/reference/android/support/media/tv/Program)
  - [Program.Builder](https://developer.android.com/reference/android/support/media/tv/Program.Builder)
  - [R](https://developer.android.com/reference/android/support/media/tv/R)
  - [R.attr](https://developer.android.com/reference/android/support/media/tv/R.attr)
  - [R.bool](https://developer.android.com/reference/android/support/media/tv/R.bool)
  - [R.color](https://developer.android.com/reference/android/support/media/tv/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/media/tv/R.dimen)
  - [R.drawable](https://developer.android.com/reference/android/support/media/tv/R.drawable)
  - [R.id](https://developer.android.com/reference/android/support/media/tv/R.id)
  - [R.integer](https://developer.android.com/reference/android/support/media/tv/R.integer)
  - [R.layout](https://developer.android.com/reference/android/support/media/tv/R.layout)
  - [R.string](https://developer.android.com/reference/android/support/media/tv/R.string)
  - [R.style](https://developer.android.com/reference/android/support/media/tv/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/media/tv/R.styleable)
  - [TvContractCompat](https://developer.android.com/reference/android/support/media/tv/TvContractCompat)
  - [TvContractCompat.Channels](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels)
  - [TvContractCompat.Channels.Logo](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels.Logo)
  - [TvContractCompat.PreviewPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.PreviewPrograms)
  - [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs)
  - [TvContractCompat.Programs.Genres](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs.Genres)
  - [TvContractCompat.RecordedPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.RecordedPrograms)
  - [TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms)
  - [WatchNextProgram](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram)
  - [WatchNextProgram.Builder](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram.Builder)