Google is committed to advancing racial equity for Black communities. See how.

Channels

class Channels : TvContractCompat.BaseTvColumns
kotlin.Any
   ↳ androidx.tvprovider.media.tv.TvContractCompat.Channels

Column definitions for the TV channels table.

Summary

Nested classes

A sub-directory of a single TV channel that represents its primary logo.

Constants
static String

The accent color of the app link template for this channel.

static String

The URI for the app badge icon of the app link template for this channel.

static String

The intent URI of the app link for this channel.

static String

The URI for the poster art used as the background of the app link template for this channel.

static String

The link text of the app link template for this channel.

static String

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

static String

A value that can be used to define the order an app's channels should be displayed in the configure channels menu.

static String

The description of this TV channel.

static String

The channel name that is displayed to the user.

static String

The channel number that is displayed to the user.

static String

The global content ID of this TV channel, as a URI.

static String

The ID of the TV input service that provides this TV channel.

static String

Internal data used by individual TV input services.

static String

Internal integer flag used by individual TV input services.

static String

Internal integer flag used by individual TV input services.

static String

Internal integer flag used by individual TV input services.

static String

Internal integer flag used by individual TV input services.

static String

The internal ID used by individual TV input services.

static String

The flag indicating whether this TV channel is locked or not.

static String

The network affiliation for this TV channel.

static String

The original network ID of this TV channel.

static String

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

static String

The service ID of this channel.

static String

The predefined service type of this TV channel.

static String

A channel identifier set in the TvProvider by the app to help OEM differentiate among the app's channels.

static String

The flag indicating whether this TV channel is transient or not.

static String

The transport stream ID of this channel.

static String

The broadcast system type of this TV channel.

static String

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

static String

The typical video format for programs from this TV channel.

static String

The MIME type of a single TV channel.

static String

The MIME type of a directory of TV channels.

static String

The service type for radio channels that have audio only.

static String

The service type for regular TV channels that have both audio and video.

static String

A generic service type.

static String

The channel type for 1seg (handheld).

static String

The channel type for ATSC (cable).

static String

The channel type for ATSC-M/H (mobile/handheld).

static String

The channel type for ATSC (terrestrial).

static String

The channel type for CMMB (handheld).

static String

The channel type for DTMB (terrestrial).

static String

The channel type for DVB-C (cable).

static String

The channel type for DVB-C2 (cable).

static String

The channel type for DVB-H (handheld).

static String

The channel type for DVB-S (satellite).

static String

The channel type for DVB-S2 (satellite).

static String

The channel type for DVB-SH (satellite).

static String

The channel type for DVB-T (terrestrial).

static String

The channel type for DVB-T2 (terrestrial).

static String

The channel type for ISDB-C (cable).

static String

The channel type for ISDB-S (satellite).

static String

The channel type for ISDB-T (terrestrial).

static String

The channel type for ISDB-Tb (Brazil).

static String

The channel type for NTSC.

static String

A generic channel type.

static String

The channel type for PAL.

static String

The channel type for preview videos.

static String

The channel type for SECAM.

static String

The channel type for S-DMB (satellite).

static String

The channel type for T-DMB (terrestrial).

static String

The video format for 1080i.

static String

The video format for 1080p.

static String

The video format for 2160p.

static String

The video format for 240p.

static String

The video format for 360p.

static String

The video format for 4320p.

static String

The video format for 480i.

static String

The video format for 480p.

static String

The video format for 576i.

static String

The video format for 576p.

static String

The video format for 720p.

static String

The video resolution for enhanced-definition.

static String

The video resolution for full high-definition.

static String

The video resolution for high-definition.

static String

The video resolution for standard-definition.

static String

The video resolution for ultra high-definition.

Inherited constants
Public methods
static String?
getVideoResolution(videoFormat: String!)

Returns the video resolution (definition) for a given video format.

Properties
static Uri!

The content:// style URI for this table.

Constants

static val COLUMN_APP_LINK_COLOR: String

The accent color of the app link template for this channel. This is primarily used for the background color of the text box in the template.

The app-linking allows channel input sources to provide activity links from their live channel programming to another activity. This enables content providers to increase user engagement by offering the viewer other content or actions.

Type: INTEGER (color value)

Value: "app_link_color"
static val COLUMN_APP_LINK_ICON_URI: String

The URI for the app badge icon of the app link template for this channel.

This small icon is overlaid at the bottom of the poster art specified by COLUMN_APP_LINK_POSTER_ART_URI. The data in the column must be a URI in one of the following formats:

The app-linking allows channel input sources to provide activity links from their live channel programming to another activity. This enables content providers to increase user engagement by offering the viewer other content or actions.

Type: TEXT

Value: "app_link_icon_uri"
static val COLUMN_APP_LINK_INTENT_URI: String

The intent URI of the app link for this channel.

The URI is created using Intent#toUri with Intent#URI_INTENT_SCHEME and converted back to the original intent with Intent#parseUri. The intent is launched when the user clicks the corresponding app link for the current channel.

The app-linking allows channel input so