Merge "Add Media Format key for Tuner"

This commit is contained in:
Henry Fang
2020-01-22 22:15:27 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -25941,6 +25941,7 @@ package android.media {
field public static final String KEY_GRID_COLUMNS = "grid-cols";
field public static final String KEY_GRID_ROWS = "grid-rows";
field public static final String KEY_HAPTIC_CHANNEL_COUNT = "haptic-channel-count";
field public static final String KEY_HARDWARE_AV_SYNC_ID = "hw-av-sync-id";
field public static final String KEY_HDR10_PLUS_INFO = "hdr10-plus-info";
field public static final String KEY_HDR_STATIC_INFO = "hdr-static-info";
field public static final String KEY_HEIGHT = "height";

View File

@@ -293,6 +293,14 @@ public final class MediaFormat {
*/
public static final String KEY_BIT_RATE = "bitrate";
/**
* A key describing the hardware AV sync id.
* The associated value is an integer
*
* @see android.media.tv.tuner.Tuner#getAvSyncHwId
*/
public static final String KEY_HARDWARE_AV_SYNC_ID = "hw-av-sync-id";
/**
* A key describing the max bitrate in bits/sec.
* This is usually over a one-second sliding window (e.g. over any window of one second).