# TvContract.BaseTvColumns

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/media/tv/TvContract.BaseTvColumns#constants)\|[Inherited Constants](https://developer.android.com/reference/android/media/tv/TvContract.BaseTvColumns#inhconstants)  

# TvContract.BaseTvColumns

*** ** * ** ***

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

`
public
static


interface
TvContract.BaseTvColumns
`  
`


implements

`[BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns)`


`

|-------------------------------------------|
| android.media.tv.TvContract.BaseTvColumns |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [TvContract.Channels](https://developer.android.com/reference/android/media/tv/TvContract.Channels),[TvContract.PreviewPrograms](https://developer.android.com/reference/android/media/tv/TvContract.PreviewPrograms),[TvContract.Programs](https://developer.android.com/reference/android/media/tv/TvContract.Programs),[TvContract.RecordedPrograms](https://developer.android.com/reference/android/media/tv/TvContract.RecordedPrograms),[TvContract.WatchNextPrograms](https://developer.android.com/reference/android/media/tv/TvContract.WatchNextPrograms) |-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------| | [TvContract.Channels](https://developer.android.com/reference/android/media/tv/TvContract.Channels)                   | Column definitions for the TV channels table.              | | [TvContract.PreviewPrograms](https://developer.android.com/reference/android/media/tv/TvContract.PreviewPrograms)     | Column definitions for the preview TV programs table.      | | [TvContract.Programs](https://developer.android.com/reference/android/media/tv/TvContract.Programs)                   | Column definitions for the TV programs table.              | | [TvContract.RecordedPrograms](https://developer.android.com/reference/android/media/tv/TvContract.RecordedPrograms)   | Column definitions for the recorded TV programs table.     | | [TvContract.WatchNextPrograms](https://developer.android.com/reference/android/media/tv/TvContract.WatchNextPrograms) | Column definitions for the "watch next" TV programs table. | |

<br />

*** ** * ** ***

Common base for the tables of TV channels/programs.

## Summary

|                                                                                                                    ### Constants                                                                                                                    ||
|--------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [COLUMN_PACKAGE_NAME](https://developer.android.com/reference/android/media/tv/TvContract.BaseTvColumns#COLUMN_PACKAGE_NAME) The name of the package that owns the current row. |

|                                                                                                                                                                                                                                                                                                                                                ### Inherited constants                                                                                                                                                                                                                                                                                                                                                |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From interface[android.provider.BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns) |--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| | [String](https://developer.android.com/reference/java/lang/String) | [_COUNT](https://developer.android.com/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](https://developer.android.com/reference/java/lang/String) | [_ID](https://developer.android.com/reference/android/provider/BaseColumns#_ID) The unique ID for a row.                | |

## Constants

### COLUMN_PACKAGE_NAME

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String COLUMN_PACKAGE_NAME
```

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

<br />

Constant Value: "package_name"