TvContractCompat.PreviewProgramColumns


public interface TvContractCompat.PreviewProgramColumns

Known direct subclasses
TvContractCompat.PreviewPrograms

Column definitions for the preview TV programs table.

TvContractCompat.WatchNextPrograms

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


Common columns for the tables of preview programs.

Summary

Constants

default static final int

The aspect ratio for 16:9.

default static final int

The aspect ratio for 1:1.

default static final int

The aspect ratio for 2:3.

default static final int

The aspect ratio for 3:2.

default static final int

The aspect ratio for 3:4.

default static final int

The aspect ratio for 4:3.

default static final int

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

default static final int

The availability for "available to this user".

default static final int

The availability for free content.

default static final int

The availability for free with ads content.

default static final int

The availability for "free with subscription".

default static final int

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

default static final int

The availability for content already purchased by the user.

default static final String
COLUMN_AUTHOR = "author"

The author or artist of this content.

default static final String
COLUMN_AVAILABILITY = "availability"

The availability of this TV program.

default static final String
COLUMN_BROWSABLE = "browsable"

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

default static final String
COLUMN_CONTENT_ID = "content_id"

The content ID of this TV program.

default static final String
COLUMN_DURATION_MILLIS = "duration_millis"

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

default static final String
COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis"

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

default static final String
COLUMN_GENRE = "genre"

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

default static final String
COLUMN_INTENT_URI = "intent_uri"

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

default static final String
COLUMN_INTERACTION_COUNT = "interaction_count"

The interaction count for this program.

default static final String
COLUMN_INTERACTION_TYPE = "interaction_type"

The type of interaction for this TV program.

default static final String
COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id"

The internal ID used by individual TV input services.

default static final String
COLUMN_ITEM_COUNT = "item_count"

The count of the items included in this TV program.

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

default static final String
COLUMN_LIVE = "live"

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

default static final String
COLUMN_LOGO_CONTENT_DESCRIPTION = "logo_content_description"

The content description of the logo of this TV program.

default static final String
COLUMN_LOGO_URI = "logo_uri"

The URI for the logo of this TV program.

default static final String
COLUMN_OFFER_PRICE = "offer_price"

The offer price of this TV program.

default static final String
COLUMN_POSTER_ART_ASPECT_RATIO = "poster_art_aspect_ratio"

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

default static final String
COLUMN_PREVIEW_AUDIO_URI = "preview_audio_uri"

The URI for the preview audio.

default static final String
COLUMN_PREVIEW_VIDEO_URI = "preview_video_uri"

The URI for the preview video.

default static final String
COLUMN_RELEASE_DATE = "release_date"

The release date of this TV program.

default static final String
COLUMN_STARTING_PRICE = "starting_price"

The starting price of this TV program.

default static final String
COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis"

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

default static final String
COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio"

The aspect ratio of the thumbnail for this TV program.

default static final String
COLUMN_TRANSIENT = "transient"

The flag indicating whether this program is transient or not.

default static final String
COLUMN_TV_SERIES_ITEM_TYPE = "tv_series_item_type"

The TV series item type.

default static final String
COLUMN_TYPE = "type"

The type of this program content.

default static final int

The interaction type for "fans".

default static final int

The interaction type for "followers".

default static final int

The interaction type for "likes".

default static final int

The interaction type for "listens".

default static final int

The interaction type for "thumbs".

default static final int

The interaction type for "viewers".

default static final int

The interaction type for "views".

default static final int

The TV series item type for chapter.

default static final int

The TV series item type for episode.

default static final int

The program type for album.

default static final int

The program type for artist.

default static final int

The program type for channel.

default static final int

The program type for clip.

default static final int

The program type for event.

default static final int

The program type for game.

default static final int

The program type for movie.

default static final int

The program type for playlist.

default static final int

The program type for station.

default static final int

The program type for track.

default static final int

The program type for TV episode.

default static final int

The program type for TV season.

default static final int

The program type for TV series.

Constants

ASPECT_RATIO_16_9

Added in 1.1.0
default static final int ASPECT_RATIO_16_9 = 0

The aspect ratio for 16:9.

ASPECT_RATIO_1_1

Added in 1.1.0
default static final int ASPECT_RATIO_1_1 = 3

The aspect ratio for 1:1.

ASPECT_RATIO_2_3

Added in 1.1.0
default static final int ASPECT_RATIO_2_3 = 4

The aspect ratio for 2:3.

ASPECT_RATIO_3_2

Added in 1.1.0
default static final int ASPECT_RATIO_3_2 = 1

The aspect ratio for 3:2.

ASPECT_RATIO_3_4

Added in 1.1.0
default static final int ASPECT_RATIO_3_4 = 6

The aspect ratio for 3:4.

ASPECT_RATIO_4_3

Added in 1.1.0
default static final int ASPECT_RATIO_4_3 = 2

The aspect ratio for 4:3.

ASPECT_RATIO_MOVIE_POSTER

Added in 1.1.0
default static final int ASPECT_RATIO_MOVIE_POSTER = 5

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

AVAILABILITY_AVAILABLE

Added in 1.1.0
default static final int AVAILABILITY_AVAILABLE = 0

The availability for "available to this user".

AVAILABILITY_FREE

Added in 1.1.0
default static final int AVAILABILITY_FREE = 4

The availability for free content.

AVAILABILITY_FREE_WITH_ADS

Added in 1.1.0
default static final int AVAILABILITY_FREE_WITH_ADS = 5

The availability for free with ads content.

AVAILABILITY_FREE_WITH_SUBSCRIPTION

Added in 1.1.0
default static final int AVAILABILITY_FREE_WITH_SUBSCRIPTION = 1

The availability for "free with subscription".

AVAILABILITY_PAID_CONTENT

Added in 1.1.0
default static final int AVAILABILITY_PAID_CONTENT = 2

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

AVAILABILITY_PURCHASED

Added in 1.1.0
default static final int AVAILABILITY_PURCHASED = 3

The availability for content already purchased by the user.

COLUMN_AUTHOR

Added in 1.1.0
default static final String COLUMN_AUTHOR = "author"

The author or artist of this content.

Type: TEXT

COLUMN_AVAILABILITY

Added in 1.1.0
default 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

Added in 1.1.0
default 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_CONTENT_ID

Added in 1.1.0
default 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_DURATION_MILLIS

Added in 1.1.0
default 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

Added in 1.1.0
default 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_GENRE

Added in 1.1.0
default 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

Added in 1.1.0
default 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

Added in 1.1.0
default 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

Added in 1.1.0
default 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_ID

Added in 1.1.0
default 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

Added in 1.1.0
default 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

Added in 1.1.0
default 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

Added in 1.1.0
default 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

Added in 1.1.0
default static final String