TvContractCompat.PreviewPrograms


class TvContractCompat.PreviewPrograms : TvContractCompat.BaseTvColumns


Column definitions for the preview TV programs table.

Summary

Constants

const String!
COLUMN_CHANNEL_ID = "channel_id"

The ID of the TV channel that provides this TV program.

const String!
COLUMN_WEIGHT = "weight"

The weight of the preview program within the channel.

const String!
CONTENT_ITEM_TYPE = "vnd.android.cursor.item/preview_program"

The MIME type of a single preview TV program.

const String!
CONTENT_TYPE = "vnd.android.cursor.dir/preview_program"

The MIME type of a directory of preview TV programs.

const Uri!

The content:// style URI for this table.

Inherited Constants

From android.provider.BaseColumns
const String!
_COUNT = "_count"
const String!
_ID = "_id"
From androidx.tvprovider.media.tv.TvContractCompat.BaseTvColumns
const String!
COLUMN_PACKAGE_NAME = "package_name"

The name of the package that owns the current row.

Constants

COLUMN_CHANNEL_ID

Added in 1.1.0-alpha02
const val COLUMN_CHANNEL_ID = "channel_id": String!

The ID of the TV channel that provides this TV program.

This is a part of the channel URI and matches to _ID.

This is a required field.

Type: INTEGER (long)

COLUMN_WEIGHT

Added in 1.1.0-alpha02
const val COLUMN_WEIGHT = "weight": String!

The weight of the preview program within the channel.

The UI may choose to show this item in a different position in the channel row. A larger weight value means the program is more important than other programs having smaller weight values. The value is relevant for the preview programs in the same channel. This is only relevant to TYPE_PREVIEW.

Can be empty.

Type: INTEGER

CONTENT_ITEM_TYPE

Added in 1.1.0-alpha02
const val CONTENT_ITEM_TYPE = "vnd.android.cursor.item/preview_program": String!

The MIME type of a single preview TV program.

CONTENT_TYPE

Added in 1.1.0-alpha02
const val CONTENT_TYPE = "vnd.android.cursor.dir/preview_program": String!

The MIME type of a directory of preview TV programs.

CONTENT_URI

Added in 1.1.0-alpha02
const val CONTENT_URIUri!

The content:// style URI for this table.

SQL selection is not supported for query, update and delete operations.