TvContractCompat.PreviewPrograms

public final class TvContractCompat.PreviewPrograms implements TvContractCompat.BaseTvColumns


Column definitions for the preview TV programs table.

Summary

Constants

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 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 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_AUDIO_LANGUAGE = "audio_language"

The comma-separated audio languages of this TV program.

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_CANONICAL_GENRE = "canonical_genre"

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

static final String
COLUMN_CHANNEL_ID = "channel_id"

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

static final String
COLUMN_CONTENT_ID = "content_id"

The content ID of this TV program.

static final String
COLUMN_CONTENT_RATING = "content_rating"

The comma-separated content ratings 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_EPISODE_DISPLAY_NUMBER = "episode_display_number"

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

static final String
COLUMN_EPISODE_TITLE = "episode_title"

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

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_DATA = "internal_provider_data"

Internal data used by individual TV input services.

static final String
COLUMN_INTERNAL_PROVIDER_FLAG1 = "internal_provider_flag1"

Internal integer flag used by individual TV input services.

static final String
COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2"

Internal integer flag used by individual TV input services.

static final String
COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3"

Internal integer flag used by individual TV input services.

static final String
COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4"

Internal integer flag used by individual TV input services.

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_LONG_DESCRIPTION = "long_description"

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

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_POSTER_ART_URI = "poster_art_uri"

The URI for the poster art of 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_REVIEW_RATING = "review_rating"

The review rating score for this program.

static final String
COLUMN_REVIEW_RATING_STYLE = "review_rating_style"

The review rating score style used for COLUMN_REVIEW_RATING.

static final String
COLUMN_SEARCHABLE = "searchable"

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

static final String
COLUMN_SEASON_DISPLAY_NUMBER = "season_display_number"

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

static final String
COLUMN_SEASON_TITLE = "season_title"

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

static final String
COLUMN_SERIES_ID = "series_id"

The series ID of this TV program for episodic TV shows.

static final String
COLUMN_SHORT_DESCRIPTION = "short_description"

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

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_THUMBNAIL_URI = "thumbnail_uri"

The URI for the thumbnail of this TV program.

static final String
COLUMN_TITLE = "title"

The title of 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 String
COLUMN_VERSION_NUMBER = "version_number"

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

static final String
COLUMN_VIDEO_HEIGHT = "video_height"

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

static final String
COLUMN_VIDEO_WIDTH = "video_width"

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

static final String
COLUMN_WEIGHT = "weight"

The weight of the preview program within the channel.

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

The MIME type of a single preview TV program.

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

The MIME type of a directory of preview TV programs.

static final Uri

The content:// style URI for this table.

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 review rating style for 0 to 100 point system.

static final int

The review rating style for five star rating.

static final int

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

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.

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.

Constants

ASPECT_RATIO_16_9

public static final int ASPECT_RATIO_16_9 = 0

The aspect ratio for 16:9.

ASPECT_RATIO_1_1

public static final int ASPECT_RATIO_1_1 = 3

The aspect ratio for 1:1.

ASPECT_RATIO_2_3

public static final int ASPECT_RATIO_2_3 = 4

The aspect ratio for 2:3.

ASPECT_RATIO_3_2

public static final int ASPECT_RATIO_3_2 = 1

The aspect ratio for 3:2.

ASPECT_RATIO_4_3

public static final int ASPECT_RATIO_4_3 = 2

The aspect ratio for 4:3.

ASPECT_RATIO_MOVIE_POSTER

public static final int ASPECT_RATIO_MOVIE_POSTER = 5

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

AVAILABILITY_AVAILABLE

public static final int AVAILABILITY_AVAILABLE = 0

The availability for "available to this user".

AVAILABILITY_FREE

public static final int AVAILABILITY_FREE = 4

The availability for free content.

AVAILABILITY_FREE_WITH_SUBSCRIPTION

public static final int AVAILABILITY_FREE_WITH_SUBSCRIPTION = 1

The availability for "free with subscription".

AVAILABILITY_PAID_CONTENT

public static final int AVAILABILITY_PAID_CONTENT = 2

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

AVAILABILITY_PURCHASED

public static final int AVAILABILITY_PURCHASED = 3

The availability for content already purchased by the user.

COLUMN_AUDIO_LANGUAGE

Added in 1.1.0-alpha02
public static final String COLUMN_AUDIO_LANGUAGE = "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

COLUMN_AUTHOR

public static final String COLUMN_AUTHOR = "author"

The author or artist of this content.

Type: TEXT

COLUMN_AVAILABILITY

public static final String COLUMN_AVAILABILITY = "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

COLUMN_BROWSABLE

public static final String COLUMN_BROWSABLE = "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)

COLUMN_CANONICAL_GENRE

Added in 1.1.0-alpha02
public static final String COLUMN_CANONICAL_GENRE = "canonical_genre"

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

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

Type: TEXT

COLUMN_CHANNEL_ID

Added in 1.1.0-alpha02
public static final String COLUMN_CHANNEL_ID = "channel_id"

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_CONTENT_ID

public static final String COLUMN_CONTENT_ID = "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

COLUMN_CONTENT_RATING

Added in 1.1.0-alpha02
public static final String COLUMN_CONTENT_RATING = "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

COLUMN_DURATION_MILLIS

public static final String COLUMN_DURATION_MILLIS = "duration_millis"

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

Can be empty.

Type: INTEGER

COLUMN_END_TIME_UTC_MILLIS

public static final String COLUMN_END_TIME_UTC_MILLIS = "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
COLUMN_LIVE

COLUMN_EPISODE_DISPLAY_NUMBER

Added in 1.1.0-alpha02
public static final String COLUMN_EPISODE_DISPLAY_NUMBER = "episode_display_number"

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

This is used to indicate the episode number. (e.g. 1, 2 or 3) Note that the value does not necessarily be numeric. (e.g. 12B)

Can be empty.

Type: TEXT

COLUMN_EPISODE_TITLE

Added in 1.1.0-alpha02
public static final String COLUMN_EPISODE_TITLE = "episode_title"

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

Can be empty.

Type: TEXT

COLUMN_GENRE

public static final String COLUMN_GENRE = "genre"

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

A short freeform description of the genre(s) of the program. Usually a comma seperated list of a few genres. For example: Drama, Sci-Fi.

Can be empty.

Type: TEXT

COLUMN_INTENT_URI

public static final String COLUMN_INTENT_URI = "intent_uri"

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

The URI is created using toUri with URI_INTENT_SCHEME and converted back to the original intent with parseUri. The intent is launched when the user selects the preview program item.

Can be empty.

Type: TEXT

COLUMN_INTERACTION_COUNT

public static final String COLUMN_INTERACTION_COUNT = "interaction_count"

The interaction count for this program.

This indicates the number of times interaction has happened.

Type: INTEGER (long)

COLUMN_INTERACTION_TYPE

public static final String COLUMN_INTERACTION_TYPE = "interaction_type"

The type of interaction for this TV program.

The value should match one of the followings: INTERACTION_TYPE_LISTENS, INTERACTION_TYPE_FOLLOWERS, INTERACTION_TYPE_FANS, INTERACTION_TYPE_LIKES, INTERACTION_TYPE_THUMBS, INTERACTION_TYPE_VIEWS, and INTERACTION_TYPE_VIEWERS.

Type: INTEGER

COLUMN_INTERNAL_PROVIDER_DATA

Added in 1.1.0-alpha02
public static final String COLUMN_INTERNAL_PROVIDER_DATA = "internal_provider_data"

Internal data used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Type: BLOB

COLUMN_INTERNAL_PROVIDER_FLAG1

Added in 1.1.0-alpha02
public static final String COLUMN_INTERNAL_PROVIDER_FLAG1 = "internal_provider_flag1"

Internal integer flag used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Type: INTEGER

COLUMN_INTERNAL_PROVIDER_FLAG2

Added in 1.1.0-alpha02
public static final String COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2"

Internal integer flag used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Type: INTEGER

COLUMN_INTERNAL_PROVIDER_FLAG3

Added in 1.1.0-alpha02
public static final String COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3"

Internal integer flag used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Type: INTEGER

COLUMN_INTERNAL_PROVIDER_FLAG4

Added in 1.1.0-alpha02
public static final String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4"

Internal integer flag used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Type: INTEGER

COLUMN_INTERNAL_PROVIDER_ID

public static final String COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id"

The internal ID used by individual TV input services.

This is internal to the provider that inserted it, and should not be decoded by other apps.

Can be empty.

Type: TEXT

COLUMN_ITEM_COUNT

public static final String COLUMN_ITEM_COUNT = "item_count"

The count of the items included in this TV program.

This is only relevant if the program represents a collection of items such as series, episodes, or music tracks.

Type: INTEGER

COLUMN_LAST_PLAYBACK_POSITION_MILLIS

public 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.

Can be empty.

Type: INTEGER

COLUMN_LIVE

public static final String COLUMN_LIVE = "live"

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

A value of 1 indicates that the content is airing and should be consumed now, a value of 0 indicates that the content is off the air and does not need to be consumed at the present time. If not specified, the value is set to 0 (not live) by default.

Type: INTEGER (boolean)

COLUMN_LOGO_CONTENT_DESCRIPTION

public static final String COLUMN_LOGO_CONTENT_DESCRIPTION = "logo_content_description"

The content description of the logo of this TV program.

A description of the logo shown on the program used in accessibility mode.

Can be empty.

Type: TEXT

See also
COLUMN_LOGO_URI

COLUMN_LOGO_URI

public static final String COLUMN_LOGO_URI = "logo_uri"

The URI for the logo of this TV program.

This is a small badge shown on top of the poster art or thumbnail representing the source of the content.

The data in the column must be a URL, or a URI in one of the following formats:

Can be empty.

Type: TEXT

COLUMN_LONG_DESCRIPTION

Added in 1.1.0-alpha02
public static final String COLUMN_LONG_DESCRIPTION = "long_description"

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

TV input services should leave this field empty if they have no additional details beyond COLUMN_SHORT_DESCRIPTION.

Type: TEXT

COLUMN_OFFER_PRICE

public static final String COLUMN_OFFER_PRICE = "offer_price"

The offer price of this TV program.

This is the promotional cost of the content. It is only used if the availability of the program is AVAILABILITY_PAID_CONTENT.

Type: TEXT

COLUMN_POSTER_ART_ASPECT_RATIO

public static final String COLUMN_POSTER_ART_ASPECT_RATIO = "poster_art_aspect_ratio"

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

The value should match one of the followings: ASPECT_RATIO_16_9, ASPECT_RATIO_3_2, ASPECT_RATIO_4_3, ASPECT_RATIO_1_1, ASPECT_RATIO_2_3, and ASPECT_RATIO_MOVIE_POSTER.

Type: INTEGER

COLUMN_POSTER_ART_URI

Added in 1.1.0-alpha02
public static final String COLUMN_POSTER_ART_URI = "poster_art_uri"

The URI for the poster art of this TV program.

The data in the column must be a URL, or a URI in one of the following formats:

Can be empty.

Type: TEXT

COLUMN_PREVIEW_AUDIO_URI

public static final String COLUMN_PREVIEW_AUDIO_URI = "preview_audio_uri"

The URI for the preview audio.

The data in the column must be a URL, or a URI in one of the following formats:

Can be empty.

Type: TEXT

COLUMN_PREVIEW_VIDEO_URI

public static final String COLUMN_PREVIEW_VIDEO_URI = "preview_video_uri"

The URI for the preview video.

The data in the column must be a URL, or a URI in one of the following formats:

Can be empty.

Type: TEXT

COLUMN_RELEASE_DATE

public static final String COLUMN_RELEASE_DATE = "release_date"

The release date of this TV program.

The value should be in one of the following formats: "yyyy", "yyyy-MM-dd", and "yyyy-MM-ddTHH:mm:ssZ" (UTC in ISO 8601).

Type: TEXT

COLUMN_REVIEW_RATING

Added in 1.1.0-alpha02
public static final String COLUMN_REVIEW_RATING = "review_rating"

The review rating score for this program.

The format of the value is dependent on COLUMN_REVIEW_RATING_STYLE. If the style is REVIEW_RATING_STYLE_STARS, the value should be a real number between 0.0 and 5.0. (e.g. "4.5") If the style is REVIEW_RATING_STYLE_THUMBS_UP_DOWN, the value should be two integers, one for thumbs-up count and the other for thumbs-down count, with a comma between them. (e.g. "200,40") If the style is REVIEW_RATING_STYLE_PERCENTAGE, the value shoule be a real number between 0 and 100. (e.g. "99.9")

Type: TEXT

COLUMN_REVIEW_RATING_STYLE

Added in 1.1.0-alpha02
public static final String COLUMN_REVIEW_RATING_STYLE = "review_rating_style"

The review rating score style used for COLUMN_REVIEW_RATING.

The value should match one of the followings: REVIEW_RATING_STYLE_STARS, REVIEW_RATING_STYLE_THUMBS_UP_DOWN, and REVIEW_RATING_STYLE_PERCENTAGE.

Type: INTEGER

COLUMN_SEARCHABLE

Added in 1.1.0-alpha02
public static final String COLUMN_SEARCHABLE = "searchable"

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

The columns of searchable programs can be read by other applications that have proper permission. Care must be taken not to open sensitive data.

A value of 1 indicates that the program is searchable and its columns can be read by other applications, a value of 0 indicates that the program is hidden and its columns can be read only by the package that owns the program and the system. If not specified, this value is set to 1 (searchable) by default.

Type: INTEGER (boolean)

COLUMN_SEASON_DISPLAY_NUMBER

Added in 1.1.0-alpha02
public static final String COLUMN_SEASON_DISPLAY_NUMBER = "season_display_number"

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

This is used to indicate the season number. (e.g. 1, 2 or 3) Note that the value does not necessarily be numeric. (e.g. 12B)

Can be empty.

Type: TEXT

COLUMN_SEASON_TITLE

Added in 1.1.0-alpha02
public static final String COLUMN_SEASON_TITLE = "season_title"

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

This is an optional field supplied only when the season has a special title (e.g. The Final Season). If provided, the applications should display it instead of COLUMN_SEASON_DISPLAY_NUMBER, and should display it without alterations. (e.g. for "The Final Season", displayed string should be "The Final Season", not "Season The Final Season"). When displaying multiple programs, the order should be based on COLUMN_SEASON_DISPLAY_NUMBER, even when COLUMN_SEASON_TITLE exists.

Can be empty.

Type: TEXT

COLUMN_SERIES_ID

Added in 1.1.0-alpha02
public static final String COLUMN_SERIES_ID = "series_id"

The series ID of this TV program for episodic TV shows.

This is used to indicate the series ID. Programs in the same series share a series ID.

Can be empty.

Type: TEXT

COLUMN_SHORT_DESCRIPTION

Added in 1.1.0-alpha02
public static final String COLUMN_SHORT_DESCRIPTION = "short_description"

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

It is recommended to limit the length of the descriptions to 256 characters.

Type: TEXT

COLUMN_STARTING_PRICE

public static final String COLUMN_STARTING_PRICE = "starting_price"

The starting price of this TV program.

This indicates the lowest regular acquisition cost of the content. It is only used if the availability of the program is AVAILABILITY_PAID_CONTENT or AVAILABILITY_FREE.

Type: TEXT

COLUMN_START_TIME_UTC_MILLIS

public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"

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

Should be empty if this program is not live.

Type: INTEGER (long)

See also
COLUMN_LIVE

COLUMN_THUMBNAIL_ASPECT_RATIO

public static final String COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio"

The aspect ratio of the thumbnail for this TV program.

The value should match one of the followings: ASPECT_RATIO_16_9, ASPECT_RATIO_3_2, ASPECT_RATIO_4_3, ASPECT_RATIO_1_1, ASPECT_RATIO_2_3, and ASPECT_RATIO_MOVIE_POSTER.

Type: INTEGER

COLUMN_THUMBNAIL_URI

Added in 1.1.0-alpha02
public static final String COLUMN_THUMBNAIL_URI = "thumbnail_uri"

The URI for the thumbnail of this TV program.

The system can generate a thumbnail from the poster art if this column is not specified. Thus it is not necessary for TV input services to include a thumbnail if it is just a scaled image of the poster art.

The data in the column must be a URL, or a URI in one of the following formats:

Can be empty.

Type: TEXT

COLUMN_TITLE

Added in 1.1.0-alpha02
public static final String COLUMN_TITLE = "title"

The title of this TV program.

If this program is an episodic TV show, it is recommended that the title is the series title and its related fields (COLUMN_SEASON_TITLE and/or COLUMN_SEASON_DISPLAY_NUMBER, COLUMN_SEASON_DISPLAY_NUMBER, COLUMN_EPISODE_DISPLAY_NUMBER, and COLUMN_EPISODE_TITLE) are filled in.

Type: TEXT

COLUMN_TRANSIENT

public static final String COLUMN_TRANSIENT = "transient"

The flag indicating whether this program is transient or not.

A value of 1 indicates that the channel will be automatically removed by the system on reboot, and a value of 0 indicates that the channel is persistent across reboot. If not specified, this value is set to 0 (not transient) by default.

Type: INTEGER (boolean)

See also
COLUMN_TRANSIENT

COLUMN_TV_SERIES_ITEM_TYPE

public static final String COLUMN_TV_SERIES_ITEM_TYPE = "tv_series_item_type"

The TV series item type. Can be one of the followings: TV_SERIES_ITEM_TYPE_EPISODE, TV_SERIES_ITEM_TYPE_CHAPTER

This is used to indicate whether a TV season has the sub-division as episode or chapter. If this is not set, it is default to TV_SERIES_ITEM_TYPE_EPISODE

Type: INTEGER

COLUMN_TYPE

public static final String COLUMN_TYPE = "type"

The type of this program content.

The value should match one of the followings: TYPE_MOVIE, TYPE_TV_SERIES, TYPE_TV_SEASON, TYPE_TV_EPISODE, TYPE_CLIP, TYPE_EVENT, TYPE_CHANNEL, TYPE_TRACK, TYPE_ALBUM, TYPE_ARTIST, TYPE_PLAYLIST, TYPE_STATION, and TYPE_GAME.

This is a required field if the program is from a TYPE_PREVIEW channel.

Type: INTEGER

COLUMN_VERSION_NUMBER

Added in 1.1.0-alpha02
public static final String COLUMN_VERSION_NUMBER = "version_number"

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

This is best used by sync adapters to identify the rows to update. The number can be defined by individual TV input services. One may assign the same value as version_number in ETSI EN 300 468 or ATSC A/65, if the data are coming from a TV broadcast.

Type: INTEGER

COLUMN_VIDEO_HEIGHT

Added in 1.1.0-alpha02
public static final String COLUMN_VIDEO_HEIGHT = "video_height"

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

Together with COLUMN_VIDEO_WIDTH this is used to determine the video resolution of the current TV program. Can be empty if it is not known initially or the program does not convey any video such as the programs from type SERVICE_TYPE_AUDIO channels.

Type: INTEGER

COLUMN_VIDEO_WIDTH

Added in 1.1.0-alpha02
public static final String COLUMN_VIDEO_WIDTH = "video_width"

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

Together with COLUMN_VIDEO_HEIGHT this is used to determine the video resolution of the current TV program. Can be empty if it is not known initially or the program does not convey any video such as the programs from type SERVICE_TYPE_AUDIO channels.

Type: INTEGER

COLUMN_WEIGHT

Added in 1.1.0-alpha02
public static final String COLUMN_WEIGHT = "weight"

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
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/preview_program"

The MIME type of a single preview TV program.

CONTENT_TYPE

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

The MIME type of a directory of preview TV programs.

CONTENT_URI

Added in 1.1.0-alpha02
public static final Uri CONTENT_URI

The content:// style URI for this table.

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

INTERACTION_TYPE_FANS

public static final int INTERACTION_TYPE_FANS = 3

The interaction type for "fans".

INTERACTION_TYPE_FOLLOWERS

public static final int INTERACTION_TYPE_FOLLOWERS = 2

The interaction type for "followers".

INTERACTION_TYPE_LIKES

public static final int INTERACTION_TYPE_LIKES = 4

The interaction type for "likes".

INTERACTION_TYPE_LISTENS

public static final int INTERACTION_TYPE_LISTENS = 1

The interaction type for "listens".

INTERACTION_TYPE_THUMBS

public static final int INTERACTION_TYPE_THUMBS = 5

The interaction type for "thumbs".

INTERACTION_TYPE_VIEWERS

public static final int INTERACTION_TYPE_VIEWERS = 6

The interaction type for "viewers".

INTERACTION_TYPE_VIEWS

public static final int INTERACTION_TYPE_VIEWS = 0

The interaction type for "views".

REVIEW_RATING_STYLE_PERCENTAGE

Added in 1.1.0-alpha02
public static final int REVIEW_RATING_STYLE_PERCENTAGE = 2

The review rating style for 0 to 100 point system.

REVIEW_RATING_STYLE_STARS

Added in 1.1.0-alpha02
public static final int REVIEW_RATING_STYLE_STARS = 0

The review rating style for five star rating.

REVIEW_RATING_STYLE_THUMBS_UP_DOWN

Added in 1.1.0-alpha02
public static final int REVIEW_RATING_STYLE_THUMBS_UP_DOWN = 1

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

TV_SERIES_ITEM_TYPE_CHAPTER

public static final int TV_SERIES_ITEM_TYPE_CHAPTER = 1

The TV series item type for chapter.

TV_SERIES_ITEM_TYPE_EPISODE

public static final int TV_SERIES_ITEM_TYPE_EPISODE = 0

The TV series item type for episode.

TYPE_ALBUM

public static final int TYPE_ALBUM = 8

The program type for album.

See also
COLUMN_TYPE

TYPE_ARTIST

public static final int TYPE_ARTIST = 9

The program type for artist.

See also
COLUMN_TYPE

TYPE_CHANNEL

public static final int TYPE_CHANNEL = 6

The program type for channel.

See also
COLUMN_TYPE

TYPE_CLIP

public static final int TYPE_CLIP = 4

The program type for clip.

See also
COLUMN_TYPE

TYPE_EVENT

public static final int TYPE_EVENT = 5

The program type for event.

See also
COLUMN_TYPE

TYPE_GAME

public static final int TYPE_GAME = 12

The program type for game.

See also
COLUMN_TYPE

TYPE_MOVIE

public static final int TYPE_MOVIE = 0

The program type for movie.

See also
COLUMN_TYPE

TYPE_PLAYLIST

public static final int TYPE_PLAYLIST = 10

The program type for playlist.

See also
COLUMN_TYPE

TYPE_STATION

public static final int TYPE_STATION = 11

The program type for station.

See also
COLUMN_TYPE

TYPE_TRACK

public static final int TYPE_TRACK = 7

The program type for track.

See also
COLUMN_TYPE

TYPE_TV_EPISODE

public static final int TYPE_TV_EPISODE = 3

The program type for TV episode.

See also
COLUMN_TYPE

TYPE_TV_SEASON

public static final int TYPE_TV_SEASON = 2

The program type for TV season.

See also
COLUMN_TYPE

TYPE_TV_SERIES

public static final int TYPE_TV_SERIES = 1

The program type for TV series.

See also
COLUMN_TYPE