Add start_time and end_time for PreviewPrograms

TV Content recommendation requires the start and end time for
certain type of video program such as movie and TV episode.

Bug: 148432318
Test: cts-tradefed run cts -m CtsTvTestCases
Change-Id: Ic6749fc656c66378dba50d16f3a676832a025085
This commit is contained in:
Wally Yau
2021-09-30 15:22:24 -07:00
parent baea19f18f
commit fce3133596
2 changed files with 23 additions and 0 deletions

View File

@@ -24080,6 +24080,7 @@ package android.media.tv {
field public static final String COLUMN_CONTENT_ID = "content_id";
field public static final String COLUMN_CONTENT_RATING = "content_rating";
field public static final String COLUMN_DURATION_MILLIS = "duration_millis";
field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis";
field public static final String COLUMN_EPISODE_DISPLAY_NUMBER = "episode_display_number";
field public static final String COLUMN_EPISODE_TITLE = "episode_title";
field public static final String COLUMN_INTENT_URI = "intent_uri";
@@ -24110,6 +24111,7 @@ package android.media.tv {
field public static final String COLUMN_SHORT_DESCRIPTION = "short_description";
field public static final String COLUMN_SPLIT_ID = "split_id";
field public static final String COLUMN_STARTING_PRICE = "starting_price";
field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";
field public static final String COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio";
field public static final String COLUMN_THUMBNAIL_URI = "thumbnail_uri";
field public static final String COLUMN_TITLE = "title";
@@ -24272,6 +24274,7 @@ package android.media.tv {
field public static final String COLUMN_CONTENT_ID = "content_id";
field public static final String COLUMN_CONTENT_RATING = "content_rating";
field public static final String COLUMN_DURATION_MILLIS = "duration_millis";
field public static final String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis";
field public static final String COLUMN_EPISODE_DISPLAY_NUMBER = "episode_display_number";
field public static final String COLUMN_EPISODE_TITLE = "episode_title";
field public static final String COLUMN_INTENT_URI = "intent_uri";
@@ -24303,6 +24306,7 @@ package android.media.tv {
field public static final String COLUMN_SHORT_DESCRIPTION = "short_description";
field public static final String COLUMN_SPLIT_ID = "split_id";
field public static final String COLUMN_STARTING_PRICE = "starting_price";
field public static final String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";
field public static final String COLUMN_THUMBNAIL_ASPECT_RATIO = "poster_thumbnail_aspect_ratio";
field public static final String COLUMN_THUMBNAIL_URI = "thumbnail_uri";
field public static final String COLUMN_TITLE = "title";

View File

@@ -1658,6 +1658,25 @@ public final class TvContract {
*/
String COLUMN_CONTENT_ID = "content_id";
/**
* The start time of this TV program, in milliseconds since the epoch.
*
* <p>Should be empty if this program is not live.
*
* <p>Type: INTEGER (long)
* @see #COLUMN_LIVE
*/
String COLUMN_START_TIME_UTC_MILLIS = "start_time_utc_millis";
/**
* The end time of this TV program, in milliseconds since the epoch.
*
* <p>Should be empty if this program is not live.
*
* <p>Type: INTEGER (long)
* @see #COLUMN_LIVE
*/
String COLUMN_END_TIME_UTC_MILLIS = "end_time_utc_millis";
}
/** Column definitions for the TV channels table. */