Stay organized with collections
Save and categorize content based on your preferences.
BaseTvColumns
interface BaseTvColumns : BaseColumns
Common base for the tables of TV channels/programs.
Summary
Constants |
static String |
The name of the package that owns the current row.
|
Constants
COLUMN_PACKAGE_NAME
static val COLUMN_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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TvContract.BaseTvColumns\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBaseTvColumns\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/media/tv/TvContract.BaseTvColumns \"View this page in Java\") \n\n```\ninterface BaseTvColumns : BaseColumns\n```\n\n|------------------------------------------------|\n| [android.media.tv.TvContract.BaseTvColumns](#) |\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [TvContract.Channels](/reference/kotlin/android/media/tv/TvContract.Channels), [TvContract.PreviewPrograms](/reference/kotlin/android/media/tv/TvContract.PreviewPrograms), [TvContract.Programs](/reference/kotlin/android/media/tv/TvContract.Programs), [TvContract.RecordedPrograms](/reference/kotlin/android/media/tv/TvContract.RecordedPrograms), [TvContract.WatchNextPrograms](/reference/kotlin/android/media/tv/TvContract.WatchNextPrograms) |-------------------------------------------------------------------------------------------------|------------------------------------------------------------| | [TvContract.Channels](/reference/kotlin/android/media/tv/TvContract.Channels) | Column definitions for the TV channels table. | | [TvContract.PreviewPrograms](/reference/kotlin/android/media/tv/TvContract.PreviewPrograms) | Column definitions for the preview TV programs table. | | [TvContract.Programs](/reference/kotlin/android/media/tv/TvContract.Programs) | Column definitions for the TV programs table. | | [TvContract.RecordedPrograms](/reference/kotlin/android/media/tv/TvContract.RecordedPrograms) | Column definitions for the recorded TV programs table. | | [TvContract.WatchNextPrograms](/reference/kotlin/android/media/tv/TvContract.WatchNextPrograms) | Column definitions for the \"watch next\" TV programs table. | |\n\nCommon base for the tables of TV channels/programs.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [COLUMN_PACKAGE_NAME](#COLUMN_PACKAGE_NAME:kotlin.String) The name of the package that owns the current row. |\n\n| Inherited constants ||\n|---|---|\n| From class [BaseColumns](../../provider/BaseColumns.html#) |----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](../../provider/BaseColumns.html#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](../../provider/BaseColumns.html#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\nConstants\n---------\n\n### COLUMN_PACKAGE_NAME\n\nAdded in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val COLUMN_PACKAGE_NAME: String\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 initial data of the row. If the package is later uninstalled, the rows it owns are automatically removed from the tables.\n\nType: TEXT \n\n Value: \"package_name\""]]