Stay organized with collections
Save and categorize content based on your preferences.
TvContract.BaseTvColumns
public
static
interface
TvContract.BaseTvColumns
implements
BaseColumns
android.media.tv.TvContract.BaseTvColumns
|
Known indirect subclasses
|
Common base for the tables of TV channels/programs.
Summary
Constants
COLUMN_PACKAGE_NAME
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
Constant Value:
"package_name"
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,["# TvContract.BaseTvColumns\n\nAdded in [API level 21](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \\| [Inherited Constants](#inhconstants) \n\nTvContract.BaseTvColumns\n========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/media/tv/TvContract.BaseTvColumns \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nTvContract.BaseTvColumns\n`\n\n\n`\n\n\nimplements\n\n`[BaseColumns](/reference/android/provider/BaseColumns)`\n\n\n`\n\n|-------------------------------------------|\n| android.media.tv.TvContract.BaseTvColumns |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [TvContract.Channels](/reference/android/media/tv/TvContract.Channels), [TvContract.PreviewPrograms](/reference/android/media/tv/TvContract.PreviewPrograms), [TvContract.Programs](/reference/android/media/tv/TvContract.Programs), [TvContract.RecordedPrograms](/reference/android/media/tv/TvContract.RecordedPrograms), [TvContract.WatchNextPrograms](/reference/android/media/tv/TvContract.WatchNextPrograms) |------------------------------------------------------------------------------------------|------------------------------------------------------------| | [TvContract.Channels](/reference/android/media/tv/TvContract.Channels) | Column definitions for the TV channels table. | | [TvContract.PreviewPrograms](/reference/android/media/tv/TvContract.PreviewPrograms) | Column definitions for the preview TV programs table. | | [TvContract.Programs](/reference/android/media/tv/TvContract.Programs) | Column definitions for the TV programs table. | | [TvContract.RecordedPrograms](/reference/android/media/tv/TvContract.RecordedPrograms) | Column definitions for the recorded TV programs table. | | [TvContract.WatchNextPrograms](/reference/android/media/tv/TvContract.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](/reference/java/lang/String) | [COLUMN_PACKAGE_NAME](/reference/android/media/tv/TvContract.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](/reference/android/provider/BaseColumns) |---------------------------------------|--------------------------------------------------------------------------------------------| | [String](/reference/java/lang/String) | [_COUNT](/reference/android/provider/BaseColumns#_COUNT) The count of rows in a directory. | | [String](/reference/java/lang/String) | [_ID](/reference/android/provider/BaseColumns#_ID) The unique ID for a row. | |\n\nConstants\n---------\n\n### COLUMN_PACKAGE_NAME\n\nAdded in [API level 21](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String 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\""]]