public final class

TvContractCompat.PreviewPrograms

extends java.lang.Object

implements TvContractCompat.BaseTvColumns, androidx.tvprovider.media.tv.TvContractCompat.ProgramColumns, TvContractCompat.PreviewProgramColumns

 java.lang.Object

↳androidx.tvprovider.media.tv.TvContractCompat.PreviewPrograms

Overview

Column definitions for the preview TV programs table.

Summary

Fields
public static final java.lang.StringCOLUMN_CHANNEL_ID

The ID of the TV channel that provides this TV program.

public static final java.lang.StringCOLUMN_WEIGHT

The weight of the preview program within the channel.

public static final java.lang.StringCONTENT_ITEM_TYPE

The MIME type of a single preview TV program.

public static final java.lang.StringCONTENT_TYPE

The MIME type of a directory of preview TV programs.

public static final UriCONTENT_URI

The content:// style URI for this table.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final Uri CONTENT_URI

The content:// style URI for this table.

SQL selection is not supported for , and operations.

public static final java.lang.String CONTENT_TYPE

The MIME type of a directory of preview TV programs.

public static final java.lang.String CONTENT_ITEM_TYPE

The MIME type of a single preview TV program.

public static final java.lang.String COLUMN_CHANNEL_ID

The ID of the TV channel that provides this TV program.

This is a part of the channel URI and matches to .

This is a required field.

Type: INTEGER (long)

public static final java.lang.String COLUMN_WEIGHT

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 TvContractCompat.Channels.TYPE_PREVIEW.

Can be empty.

Type: INTEGER