TvProvider API standardization for ARIB and DVB TvProvider

API standardization and customization for Digital Tuner TV Input support.
(Programs.COLUMN_SCRAMBLED, Programs.COLUMN_MULTI_SERIES_ID,
Programs.COLUMN_INTERNAL_PROVIDER_ID,
RecordedPrograms.COLUMN_MULTI_SERIES_ID,
RecordedPrograms.COLUMN_INTERNAL_PROVIDER_ID )

Bug: 183967992
Test: CTS
Change-Id: Ia98899bfbad4fb11bb3ee0390c82b2d6fc327fd6
This commit is contained in:
Junichiro.Homma
2021-10-01 11:09:32 +09:00
parent e7d2554f18
commit 4b93b8d3c9
2 changed files with 67 additions and 0 deletions

View File

@@ -24164,11 +24164,14 @@ package android.media.tv {
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2";
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3";
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4";
field public static final String COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id";
field public static final String COLUMN_LONG_DESCRIPTION = "long_description";
field public static final String COLUMN_MULTI_SERIES_ID = "multi_series_id";
field public static final String COLUMN_POSTER_ART_URI = "poster_art_uri";
field public static final String COLUMN_RECORDING_PROHIBITED = "recording_prohibited";
field public static final String COLUMN_REVIEW_RATING = "review_rating";
field public static final String COLUMN_REVIEW_RATING_STYLE = "review_rating_style";
field public static final String COLUMN_SCRAMBLED = "scrambled";
field public static final String COLUMN_SEARCHABLE = "searchable";
field public static final String COLUMN_SEASON_DISPLAY_NUMBER = "season_display_number";
field @Deprecated public static final String COLUMN_SEASON_NUMBER = "season_number";
@@ -24228,7 +24231,9 @@ package android.media.tv {
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG2 = "internal_provider_flag2";
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG3 = "internal_provider_flag3";
field public static final String COLUMN_INTERNAL_PROVIDER_FLAG4 = "internal_provider_flag4";
field public static final String COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id";
field public static final String COLUMN_LONG_DESCRIPTION = "long_description";
field public static final String COLUMN_MULTI_SERIES_ID = "multi_series_id";
field public static final String COLUMN_POSTER_ART_URI = "poster_art_uri";
field public static final String COLUMN_RECORDING_DATA_BYTES = "recording_data_bytes";
field public static final String COLUMN_RECORDING_DATA_URI = "recording_data_uri";

View File

@@ -2701,6 +2701,42 @@ public final class TvContract {
*/
public static final String COLUMN_GLOBAL_CONTENT_ID = "global_content_id";
/**
* The flag indicating whether this TV program is scrambled or not.
*
* <p>Use the same coding for scrambled in the underlying broadcast standard
* if {@code free_ca_mode} in EIT is defined there (e.g. ETSI EN 300 468).
*
* <p>Type: INTEGER (boolean)
*/
public static final String COLUMN_SCRAMBLED = "scrambled";
/**
* The comma-separated series IDs of this TV program for episodic TV shows.
*
* <p>This is used to indicate the series IDs.
* Programs in the same series share a series ID.
* Use this instead of {@link #COLUMN_SERIES_ID} if more than one series IDs
* are assigned to the TV program.
*
* <p>Can be empty.
*
* <p>Type: TEXT
*/
public static final String COLUMN_MULTI_SERIES_ID = "multi_series_id";
/**
* The internal ID used by individual TV input services.
*
* <p>This is internal to the provider that inserted it, and should not be decoded by other
* apps.
*
* <p>Can be empty.
*
* <p>Type: TEXT
*/
public static final String COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id";
private Programs() {}
/** Canonical genres for TV programs. */
@@ -3033,6 +3069,32 @@ public final class TvContract {
public static final String COLUMN_RECORDING_EXPIRE_TIME_UTC_MILLIS =
"recording_expire_time_utc_millis";
/**
* The comma-separated series IDs of this TV program for episodic TV shows.
*
* <p>This is used to indicate the series IDs.
* Programs in the same series share a series ID.
* Use this instead of {@link #COLUMN_SERIES_ID} if more than one series IDs
* are assigned to the TV program.
*
* <p>Can be empty.
*
* <p>Type: TEXT
*/
public static final String COLUMN_MULTI_SERIES_ID = "multi_series_id";
/**
* The internal ID used by individual TV input services.
*
* <p>This is internal to the provider that inserted it, and should not be decoded by other
* apps.
*
* <p>Can be empty.
*
* <p>Type: TEXT
*/
public static final String COLUMN_INTERNAL_PROVIDER_ID = "internal_provider_id";
private RecordedPrograms() {}
}