TvContract.Channels


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

java.lang.Object
   ↳ android.media.tv.TvContract.Channels


Column definitions for the TV channels table.

Summary

Nested classes

class TvContract.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_BROADCAST_GENRE

The comma-separated genre string of this TV channel.

String COLUMN_BROWSABLE

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

String COLUMN_CHANNEL_LIST_ID

The channel list ID of this TV channel.

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_GLOBAL_CONTENT_ID

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

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_REMOTE_CONTROL_KEY_PRESET_NUMBER

The remote control key preset number that is assigned to this channel.

String COLUMN_SCRAMBLED

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

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_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 COLUMN_VIDEO_RESOLUTION

The typical video resolution.

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_ATSC3_T

The channel type for ATSC3.0 (terrestrial).

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_S3

The channel type for ISDB-S3 (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

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

Constants

Added in API level 23
public static final String COLUMN_APP_LINK_COLOR

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)

Constant Value: "app_link_color"

Added in API level 23
public static final String COLUMN_APP_LINK_ICON_URI

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

Constant Value: "app_link_icon_uri"

Added in API level 23
public static final String COLUMN_APP_LINK_INTENT_URI

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

Constant Value: "app_link_intent_uri"

Added in API level 23
public static final 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.

The data in the column must be a URL, or 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

Constant Value: "app_link_poster_art_uri"

Added in API level 23
public static final String COLUMN_APP_LINK_TEXT

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

This provides a short description of the action that happens when the corresponding app link is clicked.

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

Constant Value: "app_link_text"

COLUMN_BROADCAST_GENRE

Added in API level 31
public static final String COLUMN_BROADCAST_GENRE

The comma-separated genre string of this TV channel.

Use the same language appeared in the underlying broadcast standard, if applicable. Otherwise, leave empty. Use Genres.encode() to create a text that can be stored in this column. Use Genres.decode() to get the broadcast genre strings from the text stored in the column.

Type: TEXT

Constant Value: "broadcast_genre"

COLUMN_BROWSABLE

Added in API level 26
public static final String COLUMN_BROWSABLE

The flag indicating whether this TV channel 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 the channel is included in the channel list that applications use to browse channels, a value of 0 indicates the channel is not included in the list. If not specified, this value is set to 0 (not browsable) by default.

Type: INTEGER (boolean)

Constant Value: "browsable"

COLUMN_CHANNEL_LIST_ID

Added in API level 31
public static final String COLUMN_CHANNEL_LIST_ID

The channel list ID of this TV channel.

It is used to identify the channel list constructed from broadcast SI based on the underlying broadcast standard or country/operator profile, if applicable. Otherwise, leave empty.

The ID can be defined by individual TV input services. For example, one may assign a service operator name for the service operator channel list constructed from broadcast SI or one may assign the profile_name of the operator_info() APDU defined in CI Plus 1.3 for the dedicated CICAM operator profile channel list constructed from CICAM NIT.

Type: TEXT

Constant Value: "channel_list_id"

COLUMN_DESCRIPTION

Added in API level 21
public static final String COLUMN_DESCRIPTION

The description of this TV channel.

Can be empty initially.

Type: TEXT

Constant Value: "description"

COLUMN_DISPLAY_NAME

Added in API level 21
public static final String COLUMN_DISPLAY_NAME

The channel name that is displayed to the user.

A call sign is a good candidate to use for this purpose but any name that helps the user recognize the current channel will be enough. Can also be empty depending on broadcast standard.

Type: TEXT

Constant Value: "display_name"

COLUMN_DISPLAY_NUMBER

Added in API level 21
public static final String COLUMN_DISPLAY_NUMBER

The channel number that is displayed to the user.

The format can vary depending on broadcast standard and product specification.

Type: TEXT

Constant Value: "display_number"

COLUMN_GLOBAL_CONTENT_ID

Added in API level 30
public static final String COLUMN_GLOBAL_CONTENT_ID

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

A globally unique URI that identifies this TV channel, if applicable. Suitable URIs include

  • globalServiceId from ATSC A/331. ex https://doi.org/10.5239/7E4E-B472
  • Other broadcast ID provider. ex http://example.com/tv_channel/1234

Can be empty.

Type: TEXT

Constant Value: "global_content_id"

COLUMN_INPUT_ID

Added in API level 21
public static final String COLUMN_INPUT_ID

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

Use TvContract.buildInputId(ComponentName) to build the ID.

This is a required field.

Type: TEXT

Constant Value: "input_id"

COLUMN_INTERNAL_PROVIDER_DATA

Added in API level 21
public static final String COLUMN_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

Constant Value: "internal_provider_data"

COLUMN_INTERNAL_PROVIDER_FLAG1

Added in API level 23
public static final String COLUMN_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

Constant Value: "internal_provider_flag1"

COLUMN_INTERNAL_PROVIDER_FLAG2

Added in API level 23
public static final String COLUMN_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

Constant Value: "internal_provider_flag2"

COLUMN_INTERNAL_PROVIDER_FLAG3

Added in API level 23
public static final String COLUMN_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

Constant Value: "internal_provider_flag3"

COLUMN_INTERNAL_PROVIDER_FLAG4

Added in API level 23
public static final String COLUMN_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

Constant Value: "internal_provider_flag4"

COLUMN_INTERNAL_PROVIDER_ID

Added in API level 26
public static final String COLUMN_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

Constant Value: "internal_provider_id"

COLUMN_LOCKED

Added in API level 26
public static final String COLUMN_LOCKED

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

This is primarily used for alternative parental control to prevent unauthorized users from watching the current channel regardless of the content rating. A value of 1 indicates the channel is locked and the user is required to enter passcode to unlock it in order to watch the current program from the channel, a value of 0 indicates the channel is not locked thus the user is not prompted to enter passcode If not specified, this value is set to 0 (not locked) by default.

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

Type: INTEGER (boolean)

Constant Value: "locked"

COLUMN_NETWORK_AFFILIATION

Added in API level 21
public static final String COLUMN_NETWORK_AFFILIATION

The network affiliation for this TV channel.

This is used to identify a channel that is commonly called by its network affiliation instead of the display name. Examples include ABC for the channel KGO-HD, FOX for the channel KTVU-HD and NBC for the channel KNTV-HD. Can be empty if not applicable.

Type: TEXT

Constant Value: "network_affiliation"

COLUMN_ORIGINAL_NETWORK_ID

Added in API level 21
public static final String COLUMN_ORIGINAL_NETWORK_ID

The original network ID of this TV channel.

It is used to identify the originating delivery system, if applicable. Use the same coding for original_network_id for ETSI EN 300 468/TR 101 211 and ARIB STD-B10.

This is a required field only if the underlying broadcast standard defines the same name field. Otherwise, leave empty.

Type: INTEGER

Constant Value: "original_network_id"

COLUMN_REMOTE_CONTROL_KEY_PRESET_NUMBER

Added in API level 31
public static final String COLUMN_REMOTE_CONTROL_KEY_PRESET_NUMBER

The remote control key preset number that is assigned to this channel.

This can be used for one-touch-tuning, tuning to the channel with pressing the preset button.

Type: INTEGER (remote control key preset number)

Constant Value: "remote_control_key_preset_number"

COLUMN_SCRAMBLED

Added in API level 31
public static final String COLUMN_SCRAMBLED

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

Use the same coding for scrambled in the underlying broadcast standard if free_ca_mode in SDT is defined there (e.g. ETSI EN 300 468).

Type: INTEGER (boolean)

Constant Value: "scrambled"

COLUMN_SEARCHABLE

Added in API level 21
public static final String COLUMN_SEARCHABLE

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

The columns of searchable channels 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 channel is searchable and its columns can be read by other applications, a value of 0 indicates that the channel is hidden and its columns can be read only by the package that owns the channel and the system. If not specified, this value is set to 1 (searchable) by default.

Type: INTEGER (boolean)

Constant Value: "searchable"

COLUMN_SERVICE_ID

Added in API level 21
public static final String COLUMN_SERVICE_ID

The service ID of this channel.

It is used to identify the current service, or channel from any other services within a given Transport Stream, if applicable. Use the same coding for service_id in ETSI EN 300 468 and ARIB STD-B10 or program_number in ISO/IEC 13818-1.

This is a required field only if the underlying broadcast standard defines the same name field, or the current channel is transmitted via the MPEG Transport Stream. Leave empty otherwise.

Type: INTEGER

Constant Value: "service_id"

COLUMN_SERVICE_TYPE

Added in API level 21
public static final String COLUMN_SERVICE_TYPE

The predefined service type of this TV channel.

This is primarily used to indicate whether the current channel is a regular TV channel or a radio-like channel. Use the same coding for service_type in the underlying broadcast standard if it is defined there (e.g. ATSC A/53, ETSI EN 300 468 and ARIB STD-B10). Otherwise use one of the followings: SERVICE_TYPE_OTHER, SERVICE_TYPE_AUDIO_VIDEO, SERVICE_TYPE_AUDIO

This is a required field.

Type: TEXT

Constant Value: "service_type"

COLUMN_TRANSIENT

Added in API level 26
public static final String COLUMN_TRANSIENT

The flag indicating whether this TV channel 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)

Constant Value: "transient"

COLUMN_TRANSPORT_STREAM_ID

Added in API level 21
public static final String COLUMN_TRANSPORT_STREAM_ID

The transport stream ID of this channel.

It is used to identify the Transport Stream that contains the current channel from any other multiplex within a network, if applicable. Use the same coding for transport_stream_id defined in ISO/IEC 13818-1 if the channel is transmitted via the MPEG Transport Stream.

This is a required field only if the current channel is transmitted via the MPEG Transport Stream. Leave empty otherwise.

Type: INTEGER

Constant Value: "transport_stream_id"

COLUMN_TYPE

Added in API level 21
public static final String COLUMN_TYPE

The broadcast system type of this TV channel.

This is used to indicate the broadcast standard (e.g. ATSC, DVB or ISDB) the current channel conforms to. Use TYPE_OTHER for streaming-based channels, which is the default channel type. The value should match one of the followings: TYPE_1SEG, TYPE_ATSC_C, TYPE_ATSC_M_H, TYPE_ATSC_T, TYPE_ATSC3_T, TYPE_CMMB, TYPE_DTMB, TYPE_DVB_C, TYPE_DVB_C2, TYPE_DVB_H, TYPE_DVB_S, TYPE_DVB_S2, TYPE_DVB_SH, TYPE_DVB_T, TYPE_DVB_T2, TYPE_ISDB_C, TYPE_ISDB_S, TYPE_ISDB_S3, TYPE_ISDB_T, TYPE_ISDB_TB, TYPE_NTSC, TYPE_OTHER, TYPE_PAL, TYPE_SECAM, TYPE_S_DMB, TYPE_T_DMB, and TYPE_PREVIEW.

This value cannot be changed once it's set. Trying to modify it will make the update fail.

This is a required field.

Type: TEXT

Constant Value: "type"

COLUMN_VERSION_NUMBER

Added in API level 21
public static final String COLUMN_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 that appears in ETSI EN 300 468 or ATSC A/65, if the data are coming from a TV broadcast.

Type: INTEGER

Constant Value: "version_number"

COLUMN_VIDEO_FORMAT

Added in API level 21
public static final String COLUMN_VIDEO_FORMAT

The typical video format for programs from this TV channel.

This is primarily used to filter out channels based on video format by applications. The value should match one of the followings: VIDEO_FORMAT_240P, VIDEO_FORMAT_360P, VIDEO_FORMAT_480I, VIDEO_FORMAT_480P, VIDEO_FORMAT_576I, VIDEO_FORMAT_576P, VIDEO_FORMAT_720P, VIDEO_FORMAT_1080I, VIDEO_FORMAT_1080P, VIDEO_FORMAT_2160P, VIDEO_FORMAT_4320P. Note that the actual video resolution of each program from a given channel can vary thus one should use Programs#COLUMN_VIDEO_WIDTH and Programs#COLUMN_VIDEO_HEIGHT to get more accurate video resolution.

Type: TEXT

Constant Value: "video_format"

COLUMN_VIDEO_RESOLUTION

Added in API level 31
public static final String COLUMN_VIDEO_RESOLUTION

The typical video resolution.

This is primarily used to filter out channels based on video resolution by applications. The value is from SDT if defined there. (e.g. ETSI EN 300 468) The value should match one of the followings: VIDEO_RESOLUTION_SD, VIDEO_RESOLUTION_HD, VIDEO_RESOLUTION_UHD.

Type: TEXT

Constant Value: "video_resolution"

CONTENT_ITEM_TYPE

Added in API level 21
public static final String CONTENT_ITEM_TYPE

The MIME type of a single TV channel.

Constant Value: "vnd.android.cursor.item/channel"

CONTENT_TYPE

Added in API level 21
public static final String CONTENT_TYPE

The MIME type of a directory of TV channels.

Constant Value: "vnd.android.cursor.dir/channel"

SERVICE_TYPE_AUDIO

Added in API level 21
public static final String SERVICE_TYPE_AUDIO

The service type for radio channels that have audio only.

Constant Value: "SERVICE_TYPE_AUDIO"

SERVICE_TYPE_AUDIO_VIDEO

Added in API level 21
public static final String SERVICE_TYPE_AUDIO_VIDEO

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

Constant Value: "SERVICE_TYPE_AUDIO_VIDEO"

SERVICE_TYPE_OTHER

Added in API level 21
public static final String SERVICE_TYPE_OTHER

A generic service type.

Constant Value: "SERVICE_TYPE_OTHER"

TYPE_1SEG

Added in API level 21
public static final String TYPE_1SEG

The channel type for 1seg (handheld).

See also:

Constant Value: "TYPE_1SEG"

TYPE_ATSC3_T

Added in API level 30
public static final String TYPE_ATSC3_T

The channel type for ATSC3.0 (terrestrial).

See also:

Constant Value: "TYPE_ATSC3_T"

TYPE_ATSC_C

Added in API level 21
public static final String TYPE_ATSC_C

The channel type for ATSC (cable).

See also:

Constant Value: "TYPE_ATSC_C"

TYPE_ATSC_M_H

Added in API level 21
public static final String TYPE_ATSC_M_H

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

See also:

Constant Value: "TYPE_ATSC_M_H"

TYPE_ATSC_T

Added in API level 21
public static final String TYPE_ATSC_T

The channel type for ATSC (terrestrial).

See also:

Constant Value: "TYPE_ATSC_T"

TYPE_CMMB

Added in API level 21
public static final String TYPE_CMMB

The channel type for CMMB (handheld).

See also:

Constant Value: "TYPE_CMMB"

TYPE_DTMB

Added in API level 21
public static final String TYPE_DTMB

The channel type for DTMB (terrestrial).

See also:

Constant Value: "TYPE_DTMB"

TYPE_DVB_C

Added in API level 21
public static final String TYPE_DVB_C

The channel type for DVB-C (cable).

See also:

Constant Value: "TYPE_DVB_C"

TYPE_DVB_C2

Added in API level 21
public static final String TYPE_DVB_C2

The channel type for DVB-C2 (cable).

See also:

Constant Value: "TYPE_DVB_C2"

TYPE_DVB_H

Added in API level 21
public static final String TYPE_DVB_H

The channel type for DVB-H (handheld).

See also:

Constant Value: "TYPE_DVB_H"

TYPE_DVB_S

Added in API level 21
public static final String TYPE_DVB_S

The channel type for DVB-S (satellite).

See also:

Constant Value: "TYPE_DVB_S"

TYPE_DVB_S2

Added in API level 21
public static final String TYPE_DVB_S2

The channel type for DVB-S2 (satellite).

See also:

Constant Value: "TYPE_DVB_S2"

TYPE_DVB_SH

Added in API level 21
public static final String TYPE_DVB_SH

The channel type for DVB-SH (satellite).

See also:

Constant Value: "TYPE_DVB_SH"

TYPE_DVB_T

Added in API level 21
public static final String TYPE_DVB_T

The channel type for DVB-T (terrestrial).

See also:

Constant Value: "TYPE_DVB_T"

TYPE_DVB_T2

Added in API level 21
public static final String TYPE_DVB_T2

The channel type for DVB-T2 (terrestrial).

See also:

Constant Value: "TYPE_DVB_T2"

TYPE_ISDB_C

Added in API level 21
public static final String TYPE_ISDB_C

The channel type for ISDB-C (cable).

See also:

Constant Value: "TYPE_ISDB_C"

TYPE_ISDB_S

Added in API level 21
public static final String TYPE_ISDB_S

The channel type for ISDB-S (satellite).

See also:

Constant Value: "TYPE_ISDB_S"

TYPE_ISDB_S3

Added in API level 29
public static final String TYPE_ISDB_S3

The channel type for ISDB-S3 (satellite).

See also:

Constant Value: "TYPE_ISDB_S3"

TYPE_ISDB_T

Added in API level 21
public static final String TYPE_ISDB_T

The channel type for ISDB-T (terrestrial).

See also:

Constant Value: "TYPE_ISDB_T"

TYPE_ISDB_TB

Added in API level 21
public static final String TYPE_ISDB_TB

The channel type for ISDB-Tb (Brazil).

See also:

Constant Value: "TYPE_ISDB_TB"

TYPE_NTSC

Added in API level 21
public static final String TYPE_NTSC

The channel type for NTSC.

See also:

Constant Value: "TYPE_NTSC"

TYPE_OTHER

Added in API level 21
public static final String TYPE_OTHER

A generic channel type. Use this if the current channel is streaming-based or its broadcast system type does not fit under any other types. This is the default channel type.

See also:

Constant Value: "TYPE_OTHER"

TYPE_PAL

Added in API level 21
public static final String TYPE_PAL

The channel type for PAL.

See also:

Constant Value: "TYPE_PAL"

TYPE_PREVIEW

Added in API level 26
public static final String TYPE_PREVIEW

The channel type for preview videos.

Unlike other broadcast TV channel types, the programs in the preview channel usually are promotional videos. The UI may treat the preview channels differently from the other broadcast channels.

See also:

Constant Value: "TYPE_PREVIEW"

TYPE_SECAM

Added in API level 21
public static final String TYPE_SECAM

The channel type for SECAM.

See also:

Constant Value: "TYPE_SECAM"

TYPE_S_DMB

Added in API level 21
public static final String TYPE_S_DMB

The channel type for S-DMB (satellite).

See also:

Constant Value: "TYPE_S_DMB"

TYPE_T_DMB

Added in API level 21
public static final String TYPE_T_DMB

The channel type for T-DMB (terrestrial).

See also:

Constant Value: "TYPE_T_DMB"

VIDEO_FORMAT_1080I

Added in API level 21
public static final String VIDEO_FORMAT_1080I

The video format for 1080i.

Constant Value: "VIDEO_FORMAT_1080I"

VIDEO_FORMAT_1080P

Added in API level 21
public static final String VIDEO_FORMAT_1080P

The video format for 1080p.

Constant Value: "VIDEO_FORMAT_1080P"

VIDEO_FORMAT_2160P

Added in API level 21
public static final String VIDEO_FORMAT_2160P

The video format for 2160p.

Constant Value: "VIDEO_FORMAT_2160P"

VIDEO_FORMAT_240P

Added in API level 21
public static final String VIDEO_FORMAT_240P

The video format for 240p.

Constant Value: "VIDEO_FORMAT_240P"

VIDEO_FORMAT_360P

Added in API level 21
public static final String VIDEO_FORMAT_360P

The video format for 360p.

Constant Value: "VIDEO_FORMAT_360P"

VIDEO_FORMAT_4320P

Added in API level 21
public static final String VIDEO_FORMAT_4320P

The video format for 4320p.

Constant Value: "VIDEO_FORMAT_4320P"

VIDEO_FORMAT_480I

Added in API level 21
public static final String VIDEO_FORMAT_480I

The video format for 480i.

Constant Value: "VIDEO_FORMAT_480I"

VIDEO_FORMAT_480P

Added in API level 21
public static final String VIDEO_FORMAT_480P

The video format for 480p.

Constant Value: "VIDEO_FORMAT_480P"

VIDEO_FORMAT_576I

Added in API level 21
public static final String VIDEO_FORMAT_576I

The video format for 576i.

Constant Value: "VIDEO_FORMAT_576I"

VIDEO_FORMAT_576P

Added in API level 21
public static final String VIDEO_FORMAT_576P

The video format for 576p.

Constant Value: "VIDEO_FORMAT_576P"

VIDEO_FORMAT_720P

Added in API level 21
public static final String VIDEO_FORMAT_720P

The video format for 720p.

Constant Value: "VIDEO_FORMAT_720P"

VIDEO_RESOLUTION_ED

Added in API level 21
public static final String VIDEO_RESOLUTION_ED

The video resolution for enhanced-definition.

Constant Value: "VIDEO_RESOLUTION_ED"

VIDEO_RESOLUTION_FHD

Added in API level 21
public static final String VIDEO_RESOLUTION_FHD

The video resolution for full high-definition.

Constant Value: "VIDEO_RESOLUTION_FHD"

VIDEO_RESOLUTION_HD

Added in API level 21
public static final String VIDEO_RESOLUTION_HD

The video resolution for high-definition.

Constant Value: "VIDEO_RESOLUTION_HD"

VIDEO_RESOLUTION_SD

Added in API level 21
public static final String VIDEO_RESOLUTION_SD

The video resolution for standard-definition.

Constant Value: "VIDEO_RESOLUTION_SD"

VIDEO_RESOLUTION_UHD

Added in API level 21
public static final String VIDEO_RESOLUTION_UHD

The video resolution for ultra high-definition.

Constant Value: "VIDEO_RESOLUTION_UHD"

Fields

CONTENT_URI

Added in API level 21
public static final Uri CONTENT_URI

The content:// style URI for this table.

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

Public methods

getVideoResolution

Added in API level 21
public static String getVideoResolution (String videoFormat)

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

Parameters
videoFormat String: The video format defined in Channels. Value is VIDEO_FORMAT_240P, VIDEO_FORMAT_360P, VIDEO_FORMAT_480I, VIDEO_FORMAT_576I, VIDEO_FORMAT_576P, VIDEO_FORMAT_720P, VIDEO_FORMAT_1080I, VIDEO_FORMAT_1080P, VIDEO_FORMAT_2160P, or VIDEO_FORMAT_4320P

Returns
String the corresponding video resolution string. null if the resolution string is not defined for the given video format.