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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TvContractCompat.BaseTvColumns\n\nadded in [version 26.1.0](/topic/libraries/support-library/revisions) \nbelongs to Maven artifact com.android.support:support-tv-provider:28.0.0-alpha1 \nSummary: [Constants](#constants) \\| [Inherited Constants](#inhconstants) \\| [\\[Expand All\\]](#) \n\nTvContractCompat.BaseTvColumns\n==============================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\n\n`\npublic\nstatic\n\n\ninterface\nTvContractCompat.BaseTvColumns\n`\n\n\n`\n\n\nimplements\n\n`[BaseColumns](https://developer.android.com/reference/android/provider/BaseColumns.html)`\n\n\n`\n\n|---------------------------------------------------------|\n| android.support.media.tv.TvContractCompat.BaseTvColumns |\n\n|---|---|\n| Known Indirect Subclasses [TvContractCompat.Channels](/reference/android/support/media/tv/TvContractCompat.Channels),[TvContractCompat.PreviewPrograms](/reference/android/support/media/tv/TvContractCompat.PreviewPrograms),[TvContractCompat.Programs](/reference/android/support/media/tv/TvContractCompat.Programs),[TvContractCompat.RecordedPrograms](/reference/android/support/media/tv/TvContractCompat.RecordedPrograms),[TvContractCompat.WatchNextPrograms](/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms) |--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------| | [TvContractCompat.Channels](/reference/android/support/media/tv/TvContractCompat.Channels) | Column definitions for the TV channels table. | | [TvContractCompat.PreviewPrograms](/reference/android/support/media/tv/TvContractCompat.PreviewPrograms) | Column definitions for the preview TV programs table. | | [TvContractCompat.Programs](/reference/android/support/media/tv/TvContractCompat.Programs) | Column definitions for the TV programs table. | | [TvContractCompat.RecordedPrograms](/reference/android/support/media/tv/TvContractCompat.RecordedPrograms) | Column definitions for the recorded TV programs table. | | [TvContractCompat.WatchNextPrograms](/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms) | Column definitions for the \"watch next\" TV programs table. | ||\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCommon base for the tables of TV channels/programs.\n\nSummary\n-------\n\n| ### Constants ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `String` | [COLUMN_PACKAGE_NAME](/reference/android/support/media/tv/TvContractCompat.BaseTvColumns#COLUMN_PACKAGE_NAME) The name of the package that owns the current row. |\n\n| ### Inherited constants |\n|-------------------------------------------------------------------------------------------------------------------------|\n| From interface ` android.provider.BaseColumns ` |----------|----------| | `String` | `_COUNT` | | `String` | `_ID` | |\n\nConstants\n---------\n\n### COLUMN_PACKAGE_NAME\n\nadded in [version 26.1.0](/topic/libraries/support-library/revisions) \n\n```\nString COLUMN_PACKAGE_NAME\n```\n\nThe name of the package that owns the current row.\n\nThe TV provider fills in this column with the name of the package that provides the\ninitial data of the row. If the package is later uninstalled, the rows it owns are\nautomatically removed from the tables.\n\nType: TEXT\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"package_name\"\n\n\n-\n\n Interfaces\n ----------\n\n - [TvContractCompat.BaseTvColumns](/reference/android/support/media/tv/TvContractCompat.BaseTvColumns)\n-\n\n Classes\n -------\n\n - [Channel](/reference/android/support/media/tv/Channel)\n - [Channel.Builder](/reference/android/support/media/tv/Channel.Builder)\n - [ChannelLogoUtils](/reference/android/support/media/tv/ChannelLogoUtils)\n - [PreviewProgram](/reference/android/support/media/tv/PreviewProgram)\n - [PreviewProgram.Builder](/reference/android/support/media/tv/PreviewProgram.Builder)\n - [Program](/reference/android/support/media/tv/Program)\n - [Program.Builder](/reference/android/support/media/tv/Program.Builder)\n - [R](/reference/android/support/media/tv/R)\n - [R.attr](/reference/android/support/media/tv/R.attr)\n - [R.bool](/reference/android/support/media/tv/R.bool)\n - [R.color](/reference/android/support/media/tv/R.color)\n - [R.dimen](/reference/android/support/media/tv/R.dimen)\n - [R.drawable](/reference/android/support/media/tv/R.drawable)\n - [R.id](/reference/android/support/media/tv/R.id)\n - [R.integer](/reference/android/support/media/tv/R.integer)\n - [R.layout](/reference/android/support/media/tv/R.layout)\n - [R.string](/reference/android/support/media/tv/R.string)\n - [R.style](/reference/android/support/media/tv/R.style)\n - [R.styleable](/reference/android/support/media/tv/R.styleable)\n - [TvContractCompat](/reference/android/support/media/tv/TvContractCompat)\n - [TvContractCompat.Channels](/reference/android/support/media/tv/TvContractCompat.Channels)\n - [TvContractCompat.Channels.Logo](/reference/android/support/media/tv/TvContractCompat.Channels.Logo)\n - [TvContractCompat.PreviewPrograms](/reference/android/support/media/tv/TvContractCompat.PreviewPrograms)\n - [TvContractCompat.Programs](/reference/android/support/media/tv/TvContractCompat.Programs)\n - [TvContractCompat.Programs.Genres](/reference/android/support/media/tv/TvContractCompat.Programs.Genres)\n - [TvContractCompat.RecordedPrograms](/reference/android/support/media/tv/TvContractCompat.RecordedPrograms)\n - [TvContractCompat.WatchNextPrograms](/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms)\n - [WatchNextProgram](/reference/android/support/media/tv/WatchNextProgram)\n - [WatchNextProgram.Builder](/reference/android/support/media/tv/WatchNextProgram.Builder)"]]