PreviewPrograms
class PreviewPrograms : TvContractCompat.BaseTvColumns, ProgramColumns, PreviewProgramColumns
kotlin.Any | |
↳ | androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms |
Column definitions for the preview TV programs table.
Summary
Constants | |
---|---|
static String |
The ID of the TV channel that provides this TV program. |
static String |
The weight of the preview program within the channel. |
static String |
The MIME type of a single preview TV program. |
static String |
The MIME type of a directory of preview TV programs. |
Inherited constants | |
---|---|
Properties | |
---|---|
static Uri! |
The content:// style URI for this table. |
Constants
COLUMN_CHANNEL_ID
static val COLUMN_CHANNEL_ID: String
The ID of the TV channel that provides this TV program.
This is a part of the channel URI and matches to BaseColumns#_ID
.
This is a required field.
Type: INTEGER (long)
Value: "channel_id"
COLUMN_WEIGHT
static val COLUMN_WEIGHT: String
The weight of the preview program within the channel.
The UI may choose to show this item in a different position in the channel row. A larger weight value means the program is more important than other programs having smaller weight values. The value is relevant for the preview programs in the same channel. This is only relevant to Channels#TYPE_PREVIEW
.
Can be empty.
Type: INTEGER
Value: "weight"
CONTENT_ITEM_TYPE
static val CONTENT_ITEM_TYPE: String
The MIME type of a single preview TV program.
Value: "vnd.android.cursor.item/preview_program"
CONTENT_TYPE
static val CONTENT_TYPE: String
The MIME type of a directory of preview TV programs.
Value: "vnd.android.cursor.dir/preview_program"
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
The content:// style URI for this table.
SQL selection is not supported for ContentResolver#query, ContentResolver#update and ContentResolver#delete operations.