TvContractCompat.Channels


class TvContractCompat.Channels : TvContractCompat.BaseTvColumns


Column definitions for the TV channels table.

Summary

Nested types

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

Constants

const String!
COLUMN_APP_LINK_COLOR = "app_link_color"

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

const String!
COLUMN_APP_LINK_ICON_URI = "app_link_icon_uri"

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

const String!
COLUMN_APP_LINK_INTENT_URI = "app_link_intent_uri"

The intent URI of the app link for this channel.

const String!
COLUMN_APP_LINK_POSTER_ART_URI = "app_link_poster_art_uri"

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

const String!
COLUMN_APP_LINK_TEXT = "app_link_text"

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

const String!
COLUMN_BROWSABLE = "browsable"

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

const String!
COLUMN_CONFIGURATION_DISPLAY_ORDER = "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.

const String!
COLUMN_DESCRIPTION = "description"

The description of this TV channel.

const String!
COLUMN_DISPLAY_NAME = "display_name"

The channel name that is displayed to the user.

const String!
COLUMN_DISPLAY_NUMBER = "display_number"

The channel number that is displayed to the user.

const String!
COLUMN_GLOBAL_CONTENT_ID = "global_content_id"

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

const String!
COLUMN_INPUT_ID = "input_id"

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

const String!
COLUMN_INTERNAL_PROVIDER_DATA = "internal_provider_data"

Internal data used by individual TV input services.

const String!
COLUMN_INTERNAL_PROVIDER_FLAG1 = "internal_provider_flag1"

Internal integer flag used by individual TV input services.

const String!
COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2"

Internal integer flag used by individual TV input services.

const String!
COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3"

Internal integer flag used by individual TV input services.

const String!
COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4"

Internal integer flag used by individual TV input services.

const String!
COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id"

The internal ID used by individual TV input services.

const String!
COLUMN_LOCKED = "locked"

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

const String!
COLUMN_NETWORK_AFFILIATION = "network_affiliation"

The network affiliation for this TV channel.

const String!
COLUMN_ORIGINAL_NETWORK_ID = "original_network_id"

The original network ID of this TV channel.

const String!
COLUMN_SEARCHABLE = "searchable"

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

const String!
COLUMN_SERVICE_ID = "service_id"

The service ID of this channel.

const String!
COLUMN_SERVICE_TYPE = "service_type"

The predefined service type of this TV channel.

const String!
COLUMN_SYSTEM_CHANNEL_KEY = "system_channel_key"

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

const String!
COLUMN_TRANSIENT = "transient"

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

const String!
COLUMN_TRANSPORT_STREAM_ID = "transport_stream_id"

The transport stream ID of this channel.

const String!
COLUMN_TYPE = "type"

The broadcast system type of this TV channel.

const String!
COLUMN_VERSION_NUMBER = "version_number"

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

const String!
COLUMN_VIDEO_FORMAT = "video_format"

The typical video format for programs from this TV channel.

const String!
CONTENT_ITEM_TYPE = "vnd.android.cursor.item/channel"

The MIME type of a single TV channel.

const String!
CONTENT_TYPE = "vnd.android.cursor.dir/channel"

The MIME type of a directory of TV channels.

const Uri!

The content:// style URI for this table.

const String!
SERVICE_TYPE_AUDIO = "SERVICE_TYPE_AUDIO"

The service type for radio channels that have audio only.

const String!
SERVICE_TYPE_AUDIO_VIDEO = "SERVICE_TYPE_AUDIO_VIDEO"

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

const String!
SERVICE_TYPE_OTHER = "SERVICE_TYPE_OTHER"

A generic service type.

const String!
TYPE_1SEG = "TYPE_1SEG"

The channel type for 1seg (handheld).

const String!
TYPE_ATSC_C = "TYPE_ATSC_C"

The channel type for ATSC (cable).

const String!
TYPE_ATSC_M_H = "TYPE_ATSC_M_H"

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

const String!
TYPE_ATSC_T = "TYPE_ATSC_T"

The channel type for ATSC (terrestrial).

const String!
TYPE_CMMB = "TYPE_CMMB"

The channel type for CMMB (handheld).

const String!
TYPE_DTMB = "TYPE_DTMB"

The channel type for DTMB (terrestrial).

const String!
TYPE_DVB_C = "TYPE_DVB_C"

The channel type for DVB-C (cable).

const String!
TYPE_DVB_C2 = "TYPE_DVB_C2"

The channel type for DVB-C2 (cable).

const String!
TYPE_DVB_H = "TYPE_DVB_H"

The channel type for DVB-H (handheld).

const String!
TYPE_DVB_S = "TYPE_DVB_S"

The channel type for DVB-S (satellite).

const String!
TYPE_DVB_S2 = "TYPE_DVB_S2"

The channel type for DVB-S2 (satellite).

const String!
TYPE_DVB_SH = "TYPE_DVB_SH"

The channel type for DVB-SH (satellite).

const String!
TYPE_DVB_T = "TYPE_DVB_T"

The channel type for DVB-T (terrestrial).

const String!
TYPE_DVB_T2 = "TYPE_DVB_T2"

The channel type for DVB-T2 (terrestrial).

const String!
TYPE_ISDB_C = "TYPE_ISDB_C"

The channel type for ISDB-C (cable).

const String!
TYPE_ISDB_S = "TYPE_ISDB_S"

The channel type for ISDB-S (satellite).

const String!
TYPE_ISDB_T = "TYPE_ISDB_T"

The channel type for ISDB-T (terrestrial).

const String!
TYPE_ISDB_TB = "TYPE_ISDB_TB"

The channel type for ISDB-Tb (Brazil).

const String!
TYPE_NTSC = "TYPE_NTSC"

The channel type for NTSC.

const String!
TYPE_OTHER = "TYPE_OTHER"

A generic channel type.

const String!
TYPE_PAL = "TYPE_PAL"

The channel type for PAL.

const String!
TYPE_PREVIEW = "TYPE_PREVIEW"

The channel type for preview videos.

const String!
TYPE_SECAM = "TYPE_SECAM"

The channel type for SECAM.

const String!
TYPE_S_DMB = "TYPE_S_DMB"

The channel type for S-DMB (satellite).

const String!
TYPE_T_DMB = "TYPE_T_DMB"

The channel type for T-DMB (terrestrial).

const String!
VIDEO_FORMAT_1080I = "VIDEO_FORMAT_1080I"

The video format for 1080i.

const String!
VIDEO_FORMAT_1080P = "VIDEO_FORMAT_1080P"

The video format for 1080p.

const String!
VIDEO_FORMAT_2160P = "VIDEO_FORMAT_2160P"

The video format for 2160p.

const String!
VIDEO_FORMAT_240P = "VIDEO_FORMAT_240P"

The video format for 240p.

const String!
VIDEO_FORMAT_360P = "VIDEO_FORMAT_360P"

The video format for 360p.

const String!
VIDEO_FORMAT_4320P = "VIDEO_FORMAT_4320P"

The video format for 4320p.

const String!
VIDEO_FORMAT_480I = "VIDEO_FORMAT_480I"

The video format for 480i.

const String!
VIDEO_FORMAT_480P = "VIDEO_FORMAT_480P"

The video format for 480p.

const String!
VIDEO_FORMAT_576I = "VIDEO_FORMAT_576I"

The video format for 576i.

const String!
VIDEO_FORMAT_576P = "VIDEO_FORMAT_576P"

The video format for 576p.

const String!
VIDEO_FORMAT_720P = "VIDEO_FORMAT_720P"

The video format for 720p.

const String!
VIDEO_RESOLUTION_ED = "VIDEO_RESOLUTION_ED"

The video resolution for enhanced-definition.

const String!
VIDEO_RESOLUTION_FHD = "VIDEO_RESOLUTION_FHD"

The video resolution for full high-definition.

const String!
VIDEO_RESOLUTION_HD = "VIDEO_RESOLUTION_HD"

The video resolution for high-definition.

const String!
VIDEO_RESOLUTION_SD = "VIDEO_RESOLUTION_SD"

The video resolution for standard-definition.

const String!
VIDEO_RESOLUTION_UHD = "VIDEO_RESOLUTION_UHD"

The video resolution for ultra high-definition.

Public functions

java-static String?
getVideoResolution(videoFormat: String!)

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

Inherited Constants

From android.provider.BaseColumns
const String!
_COUNT = "_count"
const String!
_ID = "_id"
From androidx.tvprovider.media.tv.TvContractCompat.BaseTvColumns
const String!
COLUMN_PACKAGE_NAME = "package_name"

The name of the package that owns the current row.

Constants

Added in 1.1.0-alpha02
const val COLUMN_APP_LINK_COLOR = "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)

Added in 1.1.0-alpha02
const val COLUMN_APP_LINK_ICON_URI = "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

Added in 1.1.0-alpha02
const val COLUMN_APP_LINK_INTENT_URI = "app_link_intent_uri": String!

The intent URI of the app link for this channel.

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

Added in 1.1.0-alpha02
const val COLUMN_APP_LINK_POSTER_ART_URI = "app_link_poster_art_uri": String!

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

Added in 1.1.0-alpha02
const val COLUMN_APP_LINK_TEXT = "app_link_text": String!

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

COLUMN_BROWSABLE

Added in 1.1.0-alpha02
const val COLUMN_BROWSABLE = "browsable": String!

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)

COLUMN_CONFIGURATION_DISPLAY_ORDER

Added in 1.1.0-alpha02
const val COLUMN_CONFIGURATION_DISPLAY_ORDER = "configuration_display_order": String!

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

If not specified, this value is set to 0 (unordered) by default. A value of 0 indicates that there is no defined order for this TV channel and it will default to alphabetical ordering after any channels ordered by this value. For example, given channels A, B, and C, with orders 0, 1, and 2 respectively, the final order will be B, C, A.

Type: INTEGER

COLUMN_DESCRIPTION

Added in 1.1.0-alpha02
const val COLUMN_DESCRIPTION = "description": String!

The description of this TV channel.

Can be empty initially.

Type: TEXT

COLUMN_DISPLAY_NAME

Added in 1.1.0-alpha02
const val COLUMN_DISPLAY_NAME = "display_name": String!

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

COLUMN_DISPLAY_NUMBER

Added in 1.1.0-alpha02
const val COLUMN_DISPLAY_NUMBER = "display_number": String!

The channel number that is displayed to the user.

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

Type: TEXT

COLUMN_GLOBAL_CONTENT_ID

Added in 1.1.0-alpha02
const val COLUMN_GLOBAL_CONTENT_ID = "global_content_id": String!

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

COLUMN_INPUT_ID

Added in 1.1.0-alpha02
const val COLUMN_INPUT_ID = "input_id": String!

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

Use buildInputId to build the ID.

This is a required field.

Type: TEXT

COLUMN_INTERNAL_PROVIDER_DATA

Added in 1.1.0-alpha02
const val COLUMN_INTERNAL_PROVIDER_DATA = "internal_provider_data": String!

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
const val COLUMN_INTERNAL_PROVIDER_FLAG1 = "internal_provider_flag1": String!

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
const val COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2": String!

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
const val COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3": String!

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
const val COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4": String!

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

Added in 1.1.0-alpha02
const val COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id": String!

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_LOCKED

Added in 1.1.0-alpha02
const val COLUMN_LOCKED = "locked": String!

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.

Type: INTEGER (boolean)

COLUMN_NETWORK_AFFILIATION

Added in 1.1.0-alpha02
const val COLUMN_NETWORK_AFFILIATION = "network_affiliation": String!

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

COLUMN_ORIGINAL_NETWORK_ID

Added in 1.1.0-alpha02
const val COLUMN_ORIGINAL_NETWORK_ID = "original_network_id": String!

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

COLUMN_SEARCHABLE

Added in 1.1.0-alpha02
const val COLUMN_SEARCHABLE = "searchable": String!

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)

COLUMN_SERVICE_ID

Added in 1.1.0-alpha02
const val COLUMN_SERVICE_ID = "service_id": String!

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

COLUMN_SERVICE_TYPE

Added in 1.1.0-alpha02
const val COLUMN_SERVICE_TYPE = "service_type": String!

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

COLUMN_SYSTEM_CHANNEL_KEY

Added in 1.1.0-alpha02
const val COLUMN_SYSTEM_CHANNEL_KEY = "system_channel_key": String!

A channel identifier set in the TvProvider by the app to help OEM differentiate among the app's channels. This identifier should be unique per channel for each app, and should be agreed between the app and the OEM. It is up to the OEM on how they use this identifier for customization purposes.

Can be empty.

Type: TEXT

COLUMN_TRANSIENT

Added in 1.1.0-alpha02
const val COLUMN_TRANSIENT = "transient": String!

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)

COLUMN_TRANSPORT_STREAM_ID

Added in 1.1.0-alpha02
const val COLUMN_TRANSPORT_STREAM_ID = "transport_stream_id": String!

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

COLUMN_TYPE

Added in 1.1.0-alpha02
const val COLUMN_TYPE = "type": String!

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_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_T, TYPE_ISDB_TB, TYPE_NTSC, TYPE_OTHER, TYPE_PAL, TYPE_SECAM, TYPE_S_DMB, and TYPE_T_DMB.

This is a required field.

Type: TEXT

COLUMN_VERSION_NUMBER

Added in 1.1.0-alpha02
const val COLUMN_VERSION_NUMBER = "version_number": String!

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

COLUMN_VIDEO_FORMAT

Added in 1.1.0-alpha02
const val COLUMN_VIDEO_FORMAT = "video_format": String!

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 COLUMN_VIDEO_WIDTH and COLUMN_VIDEO_HEIGHT to get more accurate video resolution.

Type: TEXT

CONTENT_ITEM_TYPE

Added in 1.1.0-alpha02
const val CONTENT_ITEM_TYPE = "vnd.android.cursor.item/channel": String!

The MIME type of a single TV channel.

CONTENT_TYPE

Added in 1.1.0-alpha02
const val CONTENT_TYPE = "vnd.android.cursor.dir/channel": String!

The MIME type of a directory of TV channels.

CONTENT_URI

Added in 1.1.0-alpha02
const val CONTENT_URIUri!

The content:// style URI for this table.

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

SERVICE_TYPE_AUDIO

Added in 1.1.0-alpha02
const val SERVICE_TYPE_AUDIO = "SERVICE_TYPE_AUDIO": String!

The service type for radio channels that have audio only.

SERVICE_TYPE_AUDIO_VIDEO

Added in 1.1.0-alpha02
const val SERVICE_TYPE_AUDIO_VIDEO = "SERVICE_TYPE_AUDIO_VIDEO": String!

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

SERVICE_TYPE_OTHER

Added in 1.1.0-alpha02
const val SERVICE_TYPE_OTHER = "SERVICE_TYPE_OTHER": String!

A generic service type.

TYPE_1SEG

Added in 1.1.0-alpha02
const val TYPE_1SEG = "TYPE_1SEG": String!

The channel type for 1seg (handheld).

See also
COLUMN_TYPE

TYPE_ATSC_C

Added in 1.1.0-alpha02
const val TYPE_ATSC_C = "TYPE_ATSC_C": String!

The channel type for ATSC (cable).

See also
COLUMN_TYPE

TYPE_ATSC_M_H

Added in 1.1.0-alpha02
const val TYPE_ATSC_M_H = "TYPE_ATSC_M_H": String!

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

See also
COLUMN_TYPE

TYPE_ATSC_T

Added in 1.1.0-alpha02
const val TYPE_ATSC_T = "TYPE_ATSC_T": String!

The channel type for ATSC (terrestrial).

See also
COLUMN_TYPE

TYPE_CMMB

Added in 1.1.0-alpha02
const val TYPE_CMMB = "TYPE_CMMB": String!

The channel type for CMMB (handheld).

See also
COLUMN_TYPE

TYPE_DTMB

Added in 1.1.0-alpha02
const val TYPE_DTMB = "TYPE_DTMB": String!

The channel type for DTMB (terrestrial).

See also
COLUMN_TYPE

TYPE_DVB_C

Added in 1.1.0-alpha02
const val TYPE_DVB_C = "TYPE_DVB_C": String!

The channel type for DVB-C (cable).

See also
COLUMN_TYPE

TYPE_DVB_C2

Added in 1.1.0-alpha02
const val TYPE_DVB_C2 = "TYPE_DVB_C2": String!

The channel type for DVB-C2 (cable).

See also
COLUMN_TYPE

TYPE_DVB_H

Added in 1.1.0-alpha02
const val TYPE_DVB_H = "TYPE_DVB_H": String!

The channel type for DVB-H (handheld).

See also
COLUMN_TYPE

TYPE_DVB_S

Added in 1.1.0-alpha02
const val TYPE_DVB_S = "TYPE_DVB_S": String!

The channel type for DVB-S (satellite).

See also
COLUMN_TYPE

TYPE_DVB_S2

Added in 1.1.0-alpha02
const val TYPE_DVB_S2 = "TYPE_DVB_S2": String!

The channel type for DVB-S2 (satellite).

See also
COLUMN_TYPE

TYPE_DVB_SH

Added in 1.1.0-alpha02
const val TYPE_DVB_SH = "TYPE_DVB_SH": String!

The channel type for DVB-SH (satellite).

See also
COLUMN_TYPE

TYPE_DVB_T

Added in 1.1.0-alpha02
const val TYPE_DVB_T = "TYPE_DVB_T": String!

The channel type for DVB-T (terrestrial).

See also
COLUMN_TYPE

TYPE_DVB_T2

Added in 1.1.0-alpha02
const val TYPE_DVB_T2 = "TYPE_DVB_T2": String!

The channel type for DVB-T2 (terrestrial).

See also
COLUMN_TYPE

TYPE_ISDB_C

Added in 1.1.0-alpha02
const val TYPE_ISDB_C = "TYPE_ISDB_C": String!

The channel type for ISDB-C (cable).

See also
COLUMN_TYPE

TYPE_ISDB_S

Added in 1.1.0-alpha02
const val TYPE_ISDB_S = "TYPE_ISDB_S": String!

The channel type for ISDB-S (satellite).

See also
COLUMN_TYPE

TYPE_ISDB_T

Added in 1.1.0-alpha02
const val TYPE_ISDB_T = "TYPE_ISDB_T": String!

The channel type for ISDB-T (terrestrial).

See also
COLUMN_TYPE

TYPE_ISDB_TB

Added in 1.1.0-alpha02
const val TYPE_ISDB_TB = "TYPE_ISDB_TB": String!

The channel type for ISDB-Tb (Brazil).

See also
COLUMN_TYPE

TYPE_NTSC

Added in 1.1.0-alpha02
const val TYPE_NTSC = "TYPE_NTSC": String!

The channel type for NTSC.

See also
COLUMN_TYPE

TYPE_OTHER

Added in 1.1.0-alpha02
const val TYPE_OTHER = "TYPE_OTHER": String!

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
COLUMN_TYPE

TYPE_PAL

Added in 1.1.0-alpha02
const val TYPE_PAL = "TYPE_PAL": String!

The channel type for PAL.

See also
COLUMN_TYPE

TYPE_PREVIEW

Added in 1.1.0-alpha02
const val TYPE_PREVIEW = "TYPE_PREVIEW": String!

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
COLUMN_TYPE

TYPE_SECAM

Added in 1.1.0-alpha02
const val TYPE_SECAM = "TYPE_SECAM": String!

The channel type for SECAM.

See also
COLUMN_TYPE

TYPE_S_DMB

Added in 1.1.0-alpha02
const val TYPE_S_DMB = "TYPE_S_DMB": String!

The channel type for S-DMB (satellite).

See also
COLUMN_TYPE

TYPE_T_DMB

Added in 1.1.0-alpha02
const val TYPE_T_DMB = "TYPE_T_DMB": String!

The channel type for T-DMB (terrestrial).

See also
COLUMN_TYPE

VIDEO_FORMAT_1080I

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_1080I = "VIDEO_FORMAT_1080I": String!

The video format for 1080i.

VIDEO_FORMAT_1080P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_1080P = "VIDEO_FORMAT_1080P": String!

The video format for 1080p.

VIDEO_FORMAT_2160P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_2160P = "VIDEO_FORMAT_2160P": String!

The video format for 2160p.

VIDEO_FORMAT_240P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_240P = "VIDEO_FORMAT_240P": String!

The video format for 240p.

VIDEO_FORMAT_360P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_360P = "VIDEO_FORMAT_360P": String!

The video format for 360p.

VIDEO_FORMAT_4320P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_4320P = "VIDEO_FORMAT_4320P": String!

The video format for 4320p.

VIDEO_FORMAT_480I

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_480I = "VIDEO_FORMAT_480I": String!

The video format for 480i.

VIDEO_FORMAT_480P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_480P = "VIDEO_FORMAT_480P": String!

The video format for 480p.

VIDEO_FORMAT_576I

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_576I = "VIDEO_FORMAT_576I": String!

The video format for 576i.

VIDEO_FORMAT_576P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_576P = "VIDEO_FORMAT_576P": String!

The video format for 576p.

VIDEO_FORMAT_720P

Added in 1.1.0-alpha02
const val VIDEO_FORMAT_720P = "VIDEO_FORMAT_720P": String!

The video format for 720p.

VIDEO_RESOLUTION_ED

Added in 1.1.0-alpha02
const val VIDEO_RESOLUTION_ED = "VIDEO_RESOLUTION_ED": String!

The video resolution for enhanced-definition.

VIDEO_RESOLUTION_FHD

Added in 1.1.0-alpha02
const val VIDEO_RESOLUTION_FHD = "VIDEO_RESOLUTION_FHD": String!

The video resolution for full high-definition.

VIDEO_RESOLUTION_HD

Added in 1.1.0-alpha02
const val VIDEO_RESOLUTION_HD = "VIDEO_RESOLUTION_HD": String!

The video resolution for high-definition.

VIDEO_RESOLUTION_SD

Added in 1.1.0-alpha02
const val VIDEO_RESOLUTION_SD = "VIDEO_RESOLUTION_SD": String!

The video resolution for standard-definition.

VIDEO_RESOLUTION_UHD

Added in 1.1.0-alpha02
const val VIDEO_RESOLUTION_UHD = "VIDEO_RESOLUTION_UHD": String!

The video resolution for ultra high-definition.

Public functions

getVideoResolution

Added in 1.1.0-alpha02
java-static fun getVideoResolution(videoFormat: String!): String?

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

Parameters
videoFormat: String!

The video format defined in Channels.

Returns
String?

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