java.lang.Object | |
↳ | android.media.tv.TvContract.Channels |
Column definitions for the TV channels table.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TvContract.Channels.Logo | A sub-directory of a single TV channel that represents its primary logo. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | COLUMN_BROWSABLE | The flag indicating whether this TV channel is browsable or not. | |||||||||
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_INTERNAL_PROVIDER_DATA | Internal data used by individual TV input services. | |||||||||
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_NAME | The name of the TvInputService subclass that provides this TV channel. |
|||||||||
String | COLUMN_SERVICE_TYPE | The predefined service type of this TV channel. | |||||||||
String | COLUMN_TRANSPORT_STREAM_ID | The transport stream ID of this channel. | |||||||||
String | COLUMN_TYPE | The predefined type of this TV channel. | |||||||||
String | COLUMN_VERSION_NUMBER | The version number of this row entry used by TV input services. | |||||||||
String | CONTENT_ITEM_TYPE | The MIME type of a single TV channel. | |||||||||
String | CONTENT_TYPE | The MIME type of a directory of TV channels. | |||||||||
int | SERVICE_TYPE_AUDIO | The service type for radio channels that have audio only. | |||||||||
int | SERVICE_TYPE_AUDIO_VIDEO | The service type for regular TV channels that have both audio and video. | |||||||||
int | SERVICE_TYPE_OTHER | A generic service type. | |||||||||
int | TYPE_1SEG | The channel type for 1seg (handheld). | |||||||||
int | TYPE_ATSC_C | The channel type for ATSC (cable). | |||||||||
int | TYPE_ATSC_M_H | The channel type for ATSC-M/H (mobile/handheld). | |||||||||
int | TYPE_ATSC_T | The channel type for ATSC (terrestrial). | |||||||||
int | TYPE_CMMB | The channel type for CMMB (handheld). | |||||||||
int | TYPE_DTMB | The channel type for DTMB (terrestrial). | |||||||||
int | TYPE_DVB_C | The channel type for DVB-C (cable). | |||||||||
int | TYPE_DVB_C2 | The channel type for DVB-C2 (cable). | |||||||||
int | TYPE_DVB_H | The channel type for DVB-H (handheld). | |||||||||
int | TYPE_DVB_S | The channel type for DVB-S (satellite). | |||||||||
int | TYPE_DVB_S2 | The channel type for DVB-S2 (satellite). | |||||||||
int | TYPE_DVB_SH | The channel type for DVB-SH (satellite). | |||||||||
int | TYPE_DVB_T | The channel type for DVB-T (terrestrial). | |||||||||
int | TYPE_DVB_T2 | The channel type for DVB-T2 (terrestrial). | |||||||||
int | TYPE_ISDB_C | The channel type for ISDB-C (cable). | |||||||||
int | TYPE_ISDB_S | The channel type for ISDB-S (satellite). | |||||||||
int | TYPE_ISDB_T | The channel type for ISDB-T (terrestrial). | |||||||||
int | TYPE_ISDB_TB | The channel type for ISDB-Tb (Brazil). | |||||||||
int | TYPE_OTHER | A generic channel type. | |||||||||
int | TYPE_PASSTHROUGH | The special channel type used for pass-through inputs such as HDMI. | |||||||||
int | TYPE_S_DMB | The channel type for S-DMB (satellite). | |||||||||
int | TYPE_T_DMB | The channel type for T-DMB (terrestrial). |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.media.tv.TvContract.BaseTvColumns
| |||||||||||
From interface
android.provider.BaseColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CONTENT_URI | The content:// style URI for this table. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The flag indicating whether this TV channel is browsable or not.
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 1 (browsable) by default.
Type: INTEGER (boolean)
The description of this TV channel.
Can be empty initially.
Type: TEXT
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
The channel number that is displayed to the user.
The format can vary depending on broadcast standard and product specification.
Type: TEXT
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
The original network ID of this TV channel.
This is used to identify the originating delivery system, if applicable. Use the same
coding for original_network_id
in the underlying broadcast standard if it is
defined there (e.g. ETSI EN 300 468/TR 101 211 and ARIB STD-B10). If channels cannot be
globally identified by 2-tuple {COLUMN_TRANSPORT_STREAM_ID
,
COLUMN_SERVICE_ID
}, one must carefully assign a value to this field to form a
unique 3-tuple identification {COLUMN_ORIGINAL_NETWORK_ID
,
COLUMN_TRANSPORT_STREAM_ID
, COLUMN_SERVICE_ID
} for its channels.
This is a required field if the channel cannot be uniquely identified by a 2-tuple
{COLUMN_TRANSPORT_STREAM_ID
, COLUMN_SERVICE_ID
}.
Type: INTEGER
The flag indicating whether this TV channel is searchable or not.
In some regions, it is not allowed to surface search results for a given channel without broadcaster's consent. This is used to impose such restriction. A value of 1 indicates the channel is searchable and can be included in search results, a value of 0 indicates the channel and its TV programs are hidden from search. If not specified, this value is set to 1 (searchable) by default.
Type: INTEGER (boolean)
The service ID of this channel.
This is used to identify the current service (roughly equivalent to channel) from any
other service within the Transport Stream, if applicable. Use the same coding for
service_id
in the underlying broadcast standard if it is defined there (e.g. ETSI
EN 300 468 and ARIB STD-B10) or program_number
(which usually has the same value
as service_id
) in ISO/IEC 13818-1 if the channel is transmitted via the MPEG
Transport Stream.
This is a required field if the current channel is transmitted via the MPEG Transport Stream.
Type: INTEGER
The name of the TvInputService
subclass that provides this TV channel. This
should be a fully qualified class name (such as, "com.example.project.TvInputService").
This is a required field.
Type: TEXT
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: INTEGER
The transport stream ID of this channel.
This 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 as is the case for many digital broadcast standards.
This is a required field if the current channel is transmitted via the MPEG Transport Stream.
Type: INTEGER
The predefined type of this TV channel.
This is primarily used to indicate which broadcast standard (e.g. ATSC, DVB or ISDB) the
current channel conforms to, with an exception being TYPE_PASSTHROUGH
, which is
a special channel type used only by pass-through inputs such as HDMI. The value should
match to one of the followings: TYPE_OTHER
, TYPE_PASSTHROUGH
,
TYPE_DVB_T
, TYPE_DVB_T2
, TYPE_DVB_S
, TYPE_DVB_S2
,
TYPE_DVB_C
, TYPE_DVB_C2
, TYPE_DVB_H
, TYPE_DVB_SH
,
TYPE_ATSC_T
, TYPE_ATSC_C
, TYPE_ATSC_M_H
, TYPE_ISDB_T
,
TYPE_ISDB_TB
, TYPE_ISDB_S
, TYPE_ISDB_C
TYPE_1SEG
,
TYPE_DTMB
, TYPE_CMMB
, TYPE_T_DMB
, TYPE_S_DMB
This is a required field.
Type: INTEGER
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
The MIME type of a single TV channel.
The MIME type of a directory of TV channels.
The service type for radio channels that have audio only.
The service type for regular TV channels that have both audio and video.
A generic service type.
The channel type for 1seg (handheld).
The channel type for ATSC (cable).
The channel type for ATSC-M/H (mobile/handheld).
The channel type for ATSC (terrestrial).
The channel type for CMMB (handheld).
The channel type for DTMB (terrestrial).
The channel type for DVB-C (cable).
The channel type for DVB-C2 (cable).
The channel type for DVB-H (handheld).
The channel type for DVB-S (satellite).
The channel type for DVB-S2 (satellite).
The channel type for DVB-SH (satellite).
The channel type for DVB-T (terrestrial).
The channel type for DVB-T2 (terrestrial).
The channel type for ISDB-C (cable).
The channel type for ISDB-S (satellite).
The channel type for ISDB-T (terrestrial).
The channel type for ISDB-Tb (Brazil).
A generic channel type.
The special channel type used for pass-through inputs such as HDMI.
The channel type for S-DMB (satellite).
The channel type for T-DMB (terrestrial).