public static final class TvContract.WatchedPrograms extends Object implements TvContract.BaseTvColumns
By default, the query results will be sorted by
COLUMN_WATCH_START_TIME_UTC_MILLIS
in descending order.
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_CHANNEL_ID
The ID of the TV channel that provides this TV program.
|
static String |
COLUMN_DESCRIPTION
The description of this TV program.
|
static String |
COLUMN_END_TIME_UTC_MILLIS
The end time of this TV program, in milliseconds since the epoch.
|
static String |
COLUMN_INTERNAL_SESSION_TOKEN
The session token of this TV program.
|
static String |
COLUMN_INTERNAL_TUNE_PARAMS
Extra parameters given to
TvInputService.Session.tune(Uri, android.os.Bundle) when tuning to the channel that
provides this TV program. |
static String |
COLUMN_START_TIME_UTC_MILLIS
The start time of this TV program, in milliseconds since the epoch.
|
static String |
COLUMN_TITLE
The title of this TV program.
|
static String |
COLUMN_WATCH_END_TIME_UTC_MILLIS
The UTC time that the user stopped watching this TV program, in milliseconds since the
epoch.
|
static String |
COLUMN_WATCH_START_TIME_UTC_MILLIS
The UTC time that the user started watching this TV program, in milliseconds since the
epoch.
|
static String |
CONTENT_ITEM_TYPE
The MIME type of a single item in this table.
|
static String |
CONTENT_TYPE
The MIME type of a directory of watched programs.
|
static Uri |
CONTENT_URI
The content:// style URI for this table.
|
COLUMN_PACKAGE_NAME
_COUNT, _ID
public static final Uri CONTENT_URI
public static final String CONTENT_TYPE
public static final String CONTENT_ITEM_TYPE
public static final String COLUMN_WATCH_START_TIME_UTC_MILLIS
Type: INTEGER (long)
public static final String COLUMN_WATCH_END_TIME_UTC_MILLIS
Type: INTEGER (long)
public static final String COLUMN_CHANNEL_ID
This is a required field.
Type: INTEGER (long)
public static final String COLUMN_TITLE
Type: TEXT
public static final String COLUMN_START_TIME_UTC_MILLIS
Type: INTEGER (long)
public static final String COLUMN_END_TIME_UTC_MILLIS
Type: INTEGER (long)
public static final String COLUMN_DESCRIPTION
Type: TEXT
public static final String COLUMN_INTERNAL_TUNE_PARAMS
TvInputService.Session.tune(Uri, android.os.Bundle)
when tuning to the channel that
provides this TV program. (Used internally.)
This column contains an encoded string that represents comma-separated key-value pairs of the tune parameters. (Ex. "[key1]=[value1], [key2]=[value2]"). '%' is used as an escape character for '%', '=', and ','.
Type: TEXT
public static final String COLUMN_INTERNAL_SESSION_TOKEN
This contains a String representation of IBinder
for
TvInputService.Session
that provides the current TV program. It is used
internally to distinguish watched programs entries from different TV input sessions.
Type: TEXT