added in version 26.1.0
belongs to Maven artifact com.android.support:support-tv-provider:28.0.0-alpha1

TvContractCompat.WatchNextPrograms

public static final class TvContractCompat.WatchNextPrograms
extends Object implements TvContractCompat.BaseTvColumns

java.lang.Object
   ↳ android.support.media.tv.TvContractCompat.WatchNextPrograms


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

Summary

Constants

int ASPECT_RATIO_16_9

The aspect ratio for 16:9.

int ASPECT_RATIO_1_1

The aspect ratio for 1:1.

int ASPECT_RATIO_2_3

The aspect ratio for 2:3.

int ASPECT_RATIO_3_2

The aspect ratio for 3:2.

int ASPECT_RATIO_4_3

The aspect ratio for 4:3.

int ASPECT_RATIO_MOVIE_POSTER

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

int AVAILABILITY_AVAILABLE

The availability for "available to this user".

int AVAILABILITY_FREE

The availability for free content.

int AVAILABILITY_FREE_WITH_SUBSCRIPTION

The availability for "free with subscription".

int AVAILABILITY_PAID_CONTENT

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

int AVAILABILITY_PURCHASED

The availability for content already purchased by the user.

String COLUMN_AUDIO_LANGUAGE

The comma-separated audio languages of this TV program.

String COLUMN_AUTHOR

The author or artist of this content.

String COLUMN_AVAILABILITY

The availability of this TV program.

String COLUMN_BROWSABLE

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

String COLUMN_CANONICAL_GENRE

The comma-separated canonical genre string of this TV program.

String COLUMN_CONTENT_ID

The content ID of this TV program.

String COLUMN_CONTENT_RATING

The comma-separated content ratings of this TV program.

String COLUMN_DURATION_MILLIS

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

String COLUMN_END_TIME_UTC_MILLIS

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

String COLUMN_EPISODE_DISPLAY_NUMBER

The episode display number of this TV program for episodic TV shows.

String COLUMN_EPISODE_TITLE

The episode title of this TV program for episodic TV shows.

String COLUMN_GENRE

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

String COLUMN_INTENT_URI

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

String COLUMN_INTERACTION_COUNT

The interaction count for this program.

String COLUMN_INTERACTION_TYPE

The type of interaction for this TV program.

String COLUMN_INTERNAL_PROVIDER_DATA

Internal data used by individual TV input services.

String COLUMN_INTERNAL_PROVIDER_FLAG1

Internal integer flag used by individual TV input services.

String COLUMN_INTERNAL_PROVIDER_FLAG2

Internal integer flag used by individual TV input services.

String COLUMN_INTERNAL_PROVIDER_FLAG3

Internal integer flag used by individual TV input services.

String COLUMN_INTERNAL_PROVIDER_FLAG4

Internal integer flag used by individual TV input services.

String COLUMN_INTERNAL_PROVIDER_ID

The internal ID used by individual TV input services.

String COLUMN_ITEM_COUNT

The count of the items included in this TV program.

String COLUMN_LAST_ENGAGEMENT_TIME_UTC_MILLIS

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

String COLUMN_LAST_PLAYBACK_POSITION_MILLIS

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

String COLUMN_LIVE

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

String COLUMN_LOGO_CONTENT_DESCRIPTION

The content description of the logo of this TV program.

String COLUMN_LOGO_URI

The URI for the logo of this TV program.

String COLUMN_LONG_DESCRIPTION

The detailed, lengthy description of this TV program that is displayed only when the user wants to see more information.

String COLUMN_OFFER_PRICE

The offer price of this TV program.

String COLUMN_POSTER_ART_ASPECT_RATIO

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

String COLUMN_POSTER_ART_URI

The URI for the poster art of this TV program.

String COLUMN_PREVIEW_AUDIO_URI

The URI for the preview audio.

String COLUMN_PREVIEW_VIDEO_URI

The URI for the preview video.

String COLUMN_RELEASE_DATE

The release date of this TV program.

String COLUMN_REVIEW_RATING

The review rating score for this program.

String COLUMN_REVIEW_RATING_STYLE

The review rating score style used for COLUMN_REVIEW_RATING.

String COLUMN_SEARCHABLE

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

String COLUMN_SEASON_DISPLAY_NUMBER

The season display number of this TV program for episodic TV shows.

String COLUMN_SEASON_TITLE

The title of the season for this TV program for episodic TV shows.

String COLUMN_SHORT_DESCRIPTION

The short description of this TV program that is displayed to the user by default.

String COLUMN_STARTING_PRICE

The starting price of this TV program.

String COLUMN_START_TIME_UTC_MILLIS

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

String COLUMN_THUMBNAIL_ASPECT_RATIO

The aspect ratio of the thumbnail for this TV program.

String COLUMN_THUMBNAIL_URI

The URI for the thumbnail of this TV program.

String COLUMN_TITLE

The title of this TV program.

String COLUMN_TRANSIENT

The flag indicating whether this program is transient or not.

String COLUMN_TYPE

The type of this program content.

String COLUMN_VERSION_NUMBER

The version number of this row entry used by TV input services.

String COLUMN_VIDEO_HEIGHT

The height of the video for this TV program, in the unit of pixels.

String COLUMN_VIDEO_WIDTH

The width of the video for this TV program, in the unit of pixels.

String COLUMN_WATCH_NEXT_TYPE

The "watch next" type of this program content.

String CONTENT_ITEM_TYPE

The MIME type of a single preview TV program.

String CONTENT_TYPE

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

int INTERACTION_TYPE_FANS

The interaction type for "fans".

int INTERACTION_TYPE_FOLLOWERS

The interaction type for "followers".

int INTERACTION_TYPE_LIKES

The interaction type for "likes".

int INTERACTION_TYPE_LISTENS

The interaction type for "listens".

int INTERACTION_TYPE_THUMBS

The interaction type for "thumbs".

int INTERACTION_TYPE_VIEWERS

The interaction type for "viewers".

int INTERACTION_TYPE_VIEWS

The interaction type for "views".

int REVIEW_RATING_STYLE_PERCENTAGE

The review rating style for 0 to 100 point system.

int REVIEW_RATING_STYLE_STARS

The review rating style for five star rating.

int REVIEW_RATING_STYLE_THUMBS_UP_DOWN

The review rating style for thumbs-up and thumbs-down rating.

int TYPE_ALBUM

The program type for album.

int TYPE_ARTIST

The program type for artist.

int TYPE_CHANNEL

The program type for channel.

int TYPE_CLIP

The program type for clip.

int TYPE_EVENT

The program type for event.

int TYPE_GAME

The program type for game.

int TYPE_MOVIE

The program type for movie.

int TYPE_PLAYLIST

The program type for playlist.

int TYPE_STATION

The program type for station.

int TYPE_TRACK

The program type for track.

int TYPE_TV_EPISODE

The program type for TV episode.

int TYPE_TV_SEASON

The program type for TV season.

int TYPE_TV_SERIES

The program type for TV series.

int WATCH_NEXT_TYPE_CONTINUE

The watch next type for CONTINUE.

int WATCH_NEXT_TYPE_NEW

The watch next type for NEW.

int WATCH_NEXT_TYPE_NEXT

The watch next type for NEXT.

int WATCH_NEXT_TYPE_WATCHLIST

The watch next type for WATCHLIST.

Inherited constants

From interface android.support.media.tv.TvContractCompat.BaseTvColumns
From interface android.provider.BaseColumns

Fields

public static final Uri CONTENT_URI

The content:// style URI for this table.

Inherited methods

From class java.lang.Object

Constants

ASPECT_RATIO_16_9

added in version 26.1.0
int ASPECT_RATIO_16_9

The aspect ratio for 16:9.

Constant Value: 0 (0x00000000)

ASPECT_RATIO_1_1

added in version 26.1.0
int ASPECT_RATIO_1_1

The aspect ratio for 1:1.

Constant Value: 3 (0x00000003)

ASPECT_RATIO_2_3

added in version 26.1.0
int ASPECT_RATIO_2_3

The aspect ratio for 2:3.

Constant Value: 4 (0x00000004)

ASPECT_RATIO_3_2

added in version 26.1.0
int ASPECT_RATIO_3_2

The aspect ratio for 3:2.

Constant Value: 1 (0x00000001)

ASPECT_RATIO_4_3

added in version 26.1.0
int ASPECT_RATIO_4_3

The aspect ratio for 4:3.

Constant Value: 2 (0x00000002)

ASPECT_RATIO_MOVIE_POSTER

added in version 27.1.0
int ASPECT_RATIO_MOVIE_POSTER

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

Constant Value: 5 (0x00000005)

AVAILABILITY_AVAILABLE

added in version 26.1.0
int AVAILABILITY_AVAILABLE

The availability for "available to this user".

Constant Value: 0 (0x00000000)

AVAILABILITY_FREE

added in version 27.1.0
int AVAILABILITY_FREE

The availability for free content.

Constant Value: 4 (0x00000004)

AVAILABILITY_FREE_WITH_SUBSCRIPTION

added in version 26.1.0
int AVAILABILITY_FREE_WITH_SUBSCRIPTION

The availability for "free with subscription".

Constant Value: 1 (0x00000001)

AVAILABILITY_PAID_CONTENT

added in version 26.1.0
int AVAILABILITY_PAID_CONTENT

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

Constant Value: 2 (0x00000002)

AVAILABILITY_PURCHASED

added in version 27.1.0
int AVAILABILITY_PURCHASED

The availability for content already purchased by the user.

Constant Value: 3 (0x00000003)

COLUMN_AUDIO_LANGUAGE

added in version 26.1.0
String COLUMN_AUDIO_LANGUAGE

The comma-separated audio languages of this TV program.

This is used to describe available audio languages included in the program. Use either ISO 639-1 or 639-2/T codes.

Type: TEXT

Constant Value: "audio_language"

COLUMN_AUTHOR

added in version 26.1.0
String COLUMN_AUTHOR

The author or artist of this content.

Type: TEXT

Constant Value: "author"

COLUMN_AVAILABILITY

added in version 26.1.0
String COLUMN_AVAILABILITY

The availability of this TV program.

The value should match one of the followings: AVAILABILITY_AVAILABLE, AVAILABILITY_FREE_WITH_SUBSCRIPTION, AVAILABILITY_PAID_CONTENT, AVAILABILITY_PURCHASED and AVAILABILITY_FREE.

Type: INTEGER

Constant Value: "availability"

COLUMN_BROWSABLE

added in version 26.1.0
String COLUMN_BROWSABLE

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

This column can only be set by applications having proper system permission. For other applications, this is a read-only column.

A value of 1 indicates that the program is browsable and can be shown to users in the UI. A value of 0 indicates that the program should be hidden from users and the application who changes this value to 0 should send ACTION_WATCH_NEXT_PROGRAM_BROWSABLE_DISABLED to the owner of the program to notify this change.

This value is set to 1 (browsable) by default.

Type: INTEGER (boolean)

Constant Value: "browsable"

COLUMN_CANONICAL_GENRE

added in version 26.1.0
String COLUMN_CANONICAL_GENRE

The comma-separated canonical genre string of this TV program.

Canonical genres are defined in TvContractCompat.Programs.Genres. Use encode(String...) to create a text that can be stored in this column. Use decode(String) to get the canonical genre strings from the text stored in the column.

Type: TEXT

Constant Value: "canonical_genre"

COLUMN_CONTENT_ID

added in version 26.1.0
String COLUMN_CONTENT_ID

The content ID of this TV program.

A public ID of the content which allows the application to apply the same operation to all the program copies in different channels.

Can be empty.

Type: TEXT

Constant Value: "content_id"

COLUMN_CONTENT_RATING

added in version 26.1.0
String COLUMN_CONTENT_RATING

The comma-separated content ratings of this TV program.

This is used to describe the content rating(s) of this program. Each comma-separated content rating sub-string should be generated by calling flattenToString(). Note that in most cases the program content is rated by a single rating system, thus resulting in a corresponding single sub-string that does not require comma separation and multiple sub-strings appear only when the program content is rated by two or more content rating systems. If any of those ratings is specified as "blocked rating" in the user's parental control settings, the TV input service should block the current content and wait for the signal that it is okay to unblock.

Type: TEXT

Constant Value: "content_rating"

COLUMN_DURATION_MILLIS

added in version 26.1.0
String COLUMN_DURATION_MILLIS

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

Can be empty.

Type: INTEGER

Constant Value: "duration_millis"

COLUMN_END_TIME_UTC_MILLIS

added in version 27.1.0
String COLUMN_END_TIME_UTC_MILLIS

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

Should be empty if this program is not live.

Type: INTEGER (long)

See also:

Constant Value: "end_time_utc_millis"

COLUMN_EPISODE_DISPLAY_NUMBER

added in version 26.1.0
String COLUMN_EPISODE_DISPLAY_NUMBER

The episode display number of this TV program for episodic TV shows