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

TvContractCompat.Channels

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

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


Column definitions for the TV channels table.

Summary

Nested classes

class TvContractCompat.Channels.Logo

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

Constants

String COLUMN_APP_LINK_COLOR

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

String COLUMN_APP_LINK_ICON_URI

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

String COLUMN_APP_LINK_INTENT_URI

The intent URI of the app link for this channel.

String COLUMN_APP_LINK_POSTER_ART_URI

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

String COLUMN_APP_LINK_TEXT

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

String COLUMN_BROWSABLE

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

String COLUMN_CONFIGURATION_DISPLAY_ORDER

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

String COLUMN_DESCRIPTION

The description of this TV channel.

String COLUMN_DISPLAY_NAME

The channel name that is displayed to the user.

String COLUMN_DISPLAY_NUMBER

The channel number that is displayed to the user.

String COLUMN_INPUT_ID

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

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_LOCKED

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

String COLUMN_NETWORK_AFFILIATION

The network affiliation for this TV channel.

String COLUMN_ORIGINAL_NETWORK_ID

The original network ID of this TV channel.

String COLUMN_SEARCHABLE

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

String COLUMN_SERVICE_ID

The service ID of this channel.

String COLUMN_SERVICE_TYPE

The predefined service type of this TV channel.

String COLUMN_SYSTEM_CHANNEL_KEY

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

String COLUMN_TRANSIENT

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

String COLUMN_TRANSPORT_STREAM_ID

The transport stream ID of this channel.

String COLUMN_TYPE

The broadcast system type of this TV channel.

String COLUMN_VERSION_NUMBER

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

String COLUMN_VIDEO_FORMAT

The typical video format for programs from this TV channel.

String CONTENT_ITEM_TYPE

The MIME type of a single TV channel.

String CONTENT_TYPE

The MIME type of a directory of TV channels.

String SERVICE_TYPE_AUDIO

The service type for radio channels that have audio only.

String SERVICE_TYPE_AUDIO_VIDEO

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

String SERVICE_TYPE_OTHER

A generic service type.

String TYPE_1SEG

The channel type for 1seg (handheld).

String TYPE_ATSC_C

The channel type for ATSC (cable).

String TYPE_ATSC_M_H

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

String TYPE_ATSC_T

The channel type for ATSC (terrestrial).

String TYPE_CMMB

The channel type for CMMB (handheld).

String TYPE_DTMB

The channel type for DTMB (terrestrial).

String TYPE_DVB_C

The channel type for DVB-C (cable).

String TYPE_DVB_C2

The channel type for DVB-C2 (cable).

String TYPE_DVB_H

The channel type for DVB-H (handheld).

String TYPE_DVB_S

The channel type for DVB-S (satellite).

String TYPE_DVB_S2

The channel type for DVB-S2 (satellite).

String TYPE_DVB_SH

The channel type for DVB-SH (satellite).

String TYPE_DVB_T

The channel type for DVB-T (terrestrial).

String TYPE_DVB_T2

The channel type for DVB-T2 (terrestrial).

String TYPE_ISDB_C

The channel type for ISDB-C (cable).

String TYPE_ISDB_S

The channel type for ISDB-S (satellite).

String TYPE_ISDB_T

The channel type for ISDB-T (terrestrial).

String TYPE_ISDB_TB

The channel type for ISDB-Tb (Brazil).

String TYPE_NTSC

The channel type for NTSC.

String TYPE_OTHER

A generic channel type.

String TYPE_PAL

The channel type for PAL.

String TYPE_PREVIEW

The channel type for preview videos.

String TYPE_SECAM

The channel type for SECAM.

String TYPE_S_DMB

The channel type for S-DMB (satellite).

String TYPE_T_DMB

The channel type for T-DMB (terrestrial).

String VIDEO_FORMAT_1080I

The video format for 1080i.

String VIDEO_FORMAT_1080P

The video format for 1080p.

String VIDEO_FORMAT_2160P

The video format for 2160p.

String VIDEO_FORMAT_240P

The video format for 240p.

String VIDEO_FORMAT_360P

The video format for 360p.

String VIDEO_FORMAT_4320P

The video format for 4320p.

String VIDEO_FORMAT_480I

The video format for 480i.

String VIDEO_FORMAT_480P

The video format for 480p.

String VIDEO_FORMAT_576I

The video format for 576i.

String VIDEO_FORMAT_576P

The video format for 576p.

String VIDEO_FORMAT_720P

The video format for 720p.

String VIDEO_RESOLUTION_ED

The video resolution for enhanced-definition.

String VIDEO_RESOLUTION_FHD

The video resolution for full high-definition.

String VIDEO_RESOLUTION_HD

The video resolution for high-definition.

String VIDEO_RESOLUTION_SD

The video resolution for standard-definition.

String VIDEO_RESOLUTION_UHD

The video resolution for ultra high-definition.

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.

Public methods

static String getVideoResolution(String videoFormat)

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

Inherited methods

From class java.lang.Object