TvContractCompat.WatchNextPrograms


public final class TvContractCompat.WatchNextPrograms implements TvContractCompat.BaseTvColumns, TvContractCompat.PreviewProgramColumns


Column definitions for the "watch next" TV programs table.

Summary

Constants

static final String
COLUMN_LAST_ENGAGEMENT_TIME_UTC_MILLIS = "last_engagement_time_utc_millis"

The last UTC time that the user engaged in this TV program, in milliseconds since the epoch.

static final String
COLUMN_WATCH_NEXT_TYPE = "watch_next_type"

The "watch next" type of this program content.

static final String
CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watch_next_program"

The MIME type of a single preview TV program.

static final String
CONTENT_TYPE = "vnd.android.cursor.dir/watch_next_program"

The MIME type of a directory of "watch next" TV programs.

static final Uri

The content:// style URI for this table.

static final int

The watch next type for CONTINUE.

static final int

The watch next type for NEW.

static final int

The watch next type for NEXT.

static final int

The watch next type for WATCHLIST.

Inherited Constants

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

The name of the package that owns the current row.

From androidx.tvprovider.media.tv.TvContractCompat.PreviewProgramColumns
static final int

The aspect ratio for 16:9.

static final int

The aspect ratio for 1:1.

static final int

The aspect ratio for 2:3.

static final int

The aspect ratio for 3:2.

static final int

The aspect ratio for 3:4.

static final int

The aspect ratio for 4:3.

static final int

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

static final int

The availability for "available to this user".

static final int

The availability for free content.

static final int

The availability for free with ads content.

static final int

The availability for "free with subscription".

static final int

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

static final int

The availability for content already purchased by the user.

static final String
COLUMN_AUTHOR = "author"

The author or artist of this content.

static final String
COLUMN_AVAILABILITY = "availability"

The availability of this TV program.

static final String
COLUMN_BROWSABLE = "browsable"

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

static final String
COLUMN_CONTENT_ID = "content_id"

The content ID of this TV program.

static final String
COLUMN_DURATION_MILLIS = "duration_millis"

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

static final String
COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis"

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

static final String
COLUMN_GENRE = "genre"

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

static final String
COLUMN_INTENT_URI = "intent_uri"

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

static final String
COLUMN_INTERACTION_COUNT = "interaction_count"

The interaction count for this program.

static final String
COLUMN_INTERACTION_TYPE = "interaction_type"

The type of interaction for this TV program.

static final String
COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id"

The internal ID used by individual TV input services.

static final String
COLUMN_ITEM_COUNT = "item_count"

The count of the items included in this TV program.

static final String
COLUMN_LAST_PLAYBACK_POSITION_MILLIS = "last_playback_position_millis"

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

static final String
COLUMN_LIVE = "live"

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

static final String
COLUMN_LOGO_CONTENT_DESCRIPTION = "logo_content_description"

The content description of the logo of this TV program.

static final String
COLUMN_LOGO_URI = "logo_uri"

The URI for the logo of this TV program.

static final String
COLUMN_OFFER_PRICE = "offer_price"

The offer price of this TV program.

static final String
COLUMN_POSTER_ART_ASPECT_RATIO = "poster_art_aspect_ratio"

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

static final String
COLUMN_PREVIEW_AUDIO_URI = "preview_audio_uri"

The URI for the preview audio.

static final String
COLUMN_PREVIEW_VIDEO_URI = "preview_video_uri"

The URI for the preview video.

static final String
COLUMN_RELEASE_DATE = "release_date"

The release date of this TV program.

static final String
COLUMN_STARTING_PRICE = "starting_price"

The starting price of this TV program.

static final String
COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"

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

static final String
COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio"

The aspect ratio of the thumbnail for this TV program.

static final String
COLUMN_TRANSIENT = "transient"

The flag indicating whether this program is transient or not.

static final String
COLUMN_TV_SERIES_ITEM_TYPE = "tv_series_item_type"

The TV series item type.

static final String
COLUMN_TYPE = "type"

The type of this program content.

static final int

The interaction type for "fans".

static final int

The interaction type for "followers".

static final int

The interaction type for "likes".

static final int

The interaction type for "listens".

static final int

The interaction type for "thumbs".

static final int

The interaction type for "viewers".

static final int

The interaction type for "views".

static final int

The TV series item type for chapter.

static final int

The TV series item type for episode.

static final int

The program type for album.

static final int

The program type for artist.

static final int

The program type for channel.

static final int

The program type for clip.

static final int

The program type for event.

static final int

The program type for game.

static final int

The program type for movie.

static final int

The program type for playlist.

static final int

The program type for station.

static final int

The program type for track.

static final int

The program type for TV episode.

static final int

The program type for TV season.

static final int

The program type for TV series.

Constants

COLUMN_LAST_ENGAGEMENT_TIME_UTC_MILLIS

Added in 1.1.0-beta01
public static final String COLUMN_LAST_ENGAGEMENT_TIME_UTC_MILLIS = "last_engagement_time_utc_millis"

The last UTC time that the user engaged in this TV program, in milliseconds since the epoch. This is a hint for the application that is used for ordering of "watch next" programs.

The meaning of the value varies depending on the COLUMN_WATCH_NEXT_TYPE:

This is a required field.

Type: INTEGER (long)

COLUMN_WATCH_NEXT_TYPE

Added in 1.1.0-beta01
public static final String COLUMN_WATCH_NEXT_TYPE = "watch_next_type"

The "watch next" type of this program content.

The value should match one of the followings: WATCH_NEXT_TYPE_CONTINUE, WATCH_NEXT_TYPE_NEXT, WATCH_NEXT_TYPE_NEW, and WATCH_NEXT_TYPE_WATCHLIST.

This is a required field.

Type: INTEGER

CONTENT_ITEM_TYPE

Added in 1.1.0-beta01
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/watch_next_program"

The MIME type of a single preview TV program.

CONTENT_TYPE

Added in 1.1.0-beta01
public static final String CONTENT_TYPE = "vnd.android.cursor.dir/watch_next_program"

The MIME type of a directory of "watch next" TV programs.

CONTENT_URI

Added in 1.1.0-beta01
public static final Uri CONTENT_URI

The content:// style URI for this table.

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

WATCH_NEXT_TYPE_CONTINUE

Added in 1.1.0-beta01
public static final int WATCH_NEXT_TYPE_CONTINUE = 0

The watch next type for CONTINUE. Use this type when the user has already watched more than 1 minute of this content.

WATCH_NEXT_TYPE_NEW

Added in 1.1.0-beta01
public static final int WATCH_NEXT_TYPE_NEW = 2

The watch next type for NEW. Use this type when the user had watched all of the available episodes from some episodic content, but a new episode became available since the user started watching the first episode and now there is exactly one unwatched episode. This could also work for recorded events in a series e.g. soccer matches or football games.

WATCH_NEXT_TYPE_NEXT

Added in 1.1.0-beta01
public static final int WATCH_NEXT_TYPE_NEXT = 1

The watch next type for NEXT. Use this type when the user has watched one or more complete episodes from some episodic content, but there remains more than one episode remaining or there is one last episode remaining, but it is not "€œnew"€ in that it was released before the user started watching the show.

WATCH_NEXT_TYPE_WATCHLIST

Added in 1.1.0-beta01
public static final int WATCH_NEXT_TYPE_WATCHLIST = 3

The watch next type for WATCHLIST. Use this type when the user has elected to explicitly add a movie, event or series to a "€œwatchlist"€ as a manual way of curating what they want to watch next.