TvContractCompat.PreviewPrograms


class TvContractCompat.PreviewPrograms : TvContractCompat.BaseTvColumns, TvContractCompat.PreviewProgramColumns


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.

From androidx.tvprovider.media.tv.TvContractCompat.PreviewProgramColumns
const Int

The aspect ratio for 16:9.

const Int

The aspect ratio for 1:1.

const Int

The aspect ratio for 2:3.

const Int

The aspect ratio for 3:2.

const Int

The aspect ratio for 3:4.

const Int

The aspect ratio for 4:3.

const Int

The aspect ratio for movie poster which is 1:1.441.

const Int

The availability for "available to this user".

const Int

The availability for free content.

const Int

The availability for free with ads content.

const Int

The availability for "free with subscription".

const Int

The availability for "paid content", either to-own or rental (user has not purchased/rented).

const Int

The availability for content already purchased by the user.

const String!
COLUMN_AUTHOR = "author"

The author or artist of this content.

const String!
COLUMN_AVAILABILITY = "availability"

The availability of this TV program.

const String!
COLUMN_BROWSABLE = "browsable"

The flag indicating whether this TV program is browsable or not.

const String!
COLUMN_CONTENT_ID = "content_id"

The content ID of this TV program.

const String!
COLUMN_DURATION_MILLIS = "duration_millis"

The duration (in milliseconds) of the original content of this preview program.

const String!
COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis"

The end time of this TV program, in milliseconds since the epoch.

const String!
COLUMN_GENRE = "genre"

A genre(s) that are related to this TV program.

const String!
COLUMN_INTENT_URI = "intent_uri"

The intent URI which is launched when the preview program is selected.

const String!
COLUMN_INTERACTION_COUNT = "interaction_count"

The interaction count for this program.

const String!
COLUMN_INTERACTION_TYPE = "interaction_type"

The type of interaction for this TV program.

const String!
COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id"

The internal ID used by individual TV input services.

const String!
COLUMN_ITEM_COUNT = "item_count"

The count of the items included in this TV program.

const String!
COLUMN_LAST_PLAYBACK_POSITION_MILLIS = "last_playback_position_millis"

The last playback position (in milliseconds) of the original content of this preview program.

const String!
COLUMN_LIVE = "live"

The flag indicating whether this TV program is live or not.

const String!
COLUMN_LOGO_CONTENT_DESCRIPTION = "logo_content_description"

The content description of the logo of this TV program.

const String!
COLUMN_LOGO_URI = "logo_uri"

The URI for the logo of this TV program.

const String!
COLUMN_OFFER_PRICE = "offer_price"

The offer price of this TV program.

const String!
COLUMN_POSTER_ART_ASPECT_RATIO = "poster_art_aspect_ratio"

The aspect ratio of the poster art for this TV program.

const String!
COLUMN_PREVIEW_AUDIO_URI = "preview_audio_uri"

The URI for the preview audio.

const String!
COLUMN_PREVIEW_VIDEO_URI = "preview_video_uri"

The URI for the preview video.

const String!
COLUMN_RELEASE_DATE = "release_date"

The release date of this TV program.

const String!
COLUMN_STARTING_PRICE = "starting_price"

The starting price of this TV program.

const String!
COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"

The start time of this TV program, in milliseconds since the epoch.

const String!
COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio"

The aspect ratio of the thumbnail for this TV program.

const String!
COLUMN_TRANSIENT = "transient"

The flag indicating whether this program is transient or not.

const String!
COLUMN_TV_SERIES_ITEM_TYPE = "tv_series_item_type"

The TV series item type.

const String!
COLUMN_TYPE = "type"

The type of this program content.

const Int

The interaction type for "fans".

const Int

The interaction type for "followers".

const Int

The interaction type for "likes".

const Int

The interaction type for "listens".

const Int

The interaction type for "thumbs".

const Int

The interaction type for "viewers".

const Int

The interaction type for "views".

const Int

The TV series item type for chapter.

const Int

The TV series item type for episode.

const Int

The program type for album.

const Int

The program type for artist.

const Int

The program type for channel.

const Int

The program type for clip.

const Int

The program type for event.

const Int

The program type for game.

const Int

The program type for movie.

const Int

The program type for playlist.

const Int

The program type for station.

const Int

The program type for track.

const Int

The program type for TV episode.

const Int

The program type for TV season.

const Int

The program type for TV series.

Constants

COLUMN_CHANNEL_ID

Added in 1.1.0-beta01
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-beta01
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-beta01
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-beta01
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-beta01
const val CONTENT_URIUri!

The content:// style URI for this table.

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