# TvContractCompat.BaseTvColumns

# TvContractCompat.BaseTvColumns

Artifact:[androidx.tvprovider:tvprovider](https://developer.android.com/jetpack/androidx/releases/tvprovider)  
[View Source](https://cs.android.com/search?q=file:androidx/tvprovider/media/tv/TvContractCompat.java+class:androidx.tvprovider.media.tv.TvContractCompat.BaseTvColumns)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/tvprovider#1.1.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/tvprovider/media/tv/TvContractCompat.BaseTvColumns "View this page in Java")

<br />

```
interface TvContractCompat.BaseTvColumns : BaseColumns
```

<br />

Known direct subclasses  
[TvContractCompat.Channels](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.Channels),[TvContractCompat.PreviewPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.PreviewPrograms),[TvContractCompat.Programs](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.Programs),[TvContractCompat.RecordedPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.RecordedPrograms),[TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms)  

|------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
| [TvContractCompat.Channels](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.Channels)                   | Column definitions for the TV channels table.              |
| [TvContractCompat.PreviewPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.PreviewPrograms)     | Column definitions for the preview TV programs table.      |
| [TvContractCompat.Programs](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.Programs)                   | Column definitions for the TV programs table.              |
| [TvContractCompat.RecordedPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.RecordedPrograms)   | Column definitions for the recorded TV programs table.     |
| [TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.WatchNextPrograms) | Column definitions for the "watch next" TV programs table. |

*** ** * ** ***

Common base for the tables of TV channels/programs.

## Summary

|                                        ### Constants                                         |
|----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [COLUMN_PACKAGE_NAME](https://developer.android.com/reference/kotlin/androidx/tvprovider/media/tv/TvContractCompat.BaseTvColumns#COLUMN_PACKAGE_NAME())` = "package_name"` The name of the package that owns the current row. |

|                                                                                                                                                                                                                                                                                                                                                               ### Inherited Constants                                                                                                                                                                                                                                                                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[android.provider.BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns.html) |----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------| | `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [_COUNT](https://developer.android.com/reference/android/provider/BaseColumns.html#_COUNT())` = "_count"` | | `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [_ID](https://developer.android.com/reference/android/provider/BaseColumns.html#_ID())` = "_id"`          | |

## Constants

### COLUMN_PACKAGE_NAME

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/tvprovider#1.1.0)  

```
const val COLUMN_PACKAGE_NAME = "package_name": String!
```

The name of the package that owns the current row.

The TV provider fills in this column with the name of the package that provides the initial data of the row. If the package is later uninstalled, the rows it owns are automatically removed from the tables.

Type: TEXT