public final class

TvContractCompat.WatchNextPrograms

extends java.lang.Object

implements TvContractCompat.BaseTvColumns, androidx.tvprovider.media.tv.TvContractCompat.ProgramColumns, TvContractCompat.PreviewProgramColumns

 java.lang.Object

↳androidx.tvprovider.media.tv.TvContractCompat.WatchNextPrograms

Overview

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

Summary

Fields
public static final java.lang.StringCOLUMN_LAST_ENGAGEMENT_TIME_UTC_MILLIS

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

public static final java.lang.StringCOLUMN_WATCH_NEXT_TYPE

The "watch next" type of this program content.

public static final java.lang.StringCONTENT_ITEM_TYPE

The MIME type of a single preview TV program.

public static final java.lang.StringCONTENT_TYPE

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

public static final UriCONTENT_URI

The content:// style URI for this table.

public static final intWATCH_NEXT_TYPE_CONTINUE

The watch next type for CONTINUE.

public static final intWATCH_NEXT_TYPE_NEW

The watch next type for NEW.

public static final intWATCH_NEXT_TYPE_NEXT

The watch next type for NEXT.

public static final intWATCH_NEXT_TYPE_WATCHLIST

The watch next type for WATCHLIST.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final Uri CONTENT_URI

The content:// style URI for this table.

SQL selection is not supported for , and operations.

public static final java.lang.String CONTENT_TYPE

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

public static final java.lang.String CONTENT_ITEM_TYPE

The MIME type of a single preview TV program.

public static final int WATCH_NEXT_TYPE_CONTINUE

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

See also: TvContractCompat.WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE

public static final int WATCH_NEXT_TYPE_NEXT

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.

See also: TvContractCompat.WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE

public static final int WATCH_NEXT_TYPE_NEW

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.

See also: TvContractCompat.WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE

public static final int WATCH_NEXT_TYPE_WATCHLIST

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.

See also: TvContractCompat.WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE

public static final java.lang.String COLUMN_WATCH_NEXT_TYPE

The "watch next" type of this program content.

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

This is a required field.

Type: INTEGER

public static final java.lang.String COLUMN_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 TvContractCompat.WatchNextPrograms.COLUMN_WATCH_NEXT_TYPE:

This is a required field.

Type: INTEGER (long)