Add TVMessage bundle key constant
Bug: 268292542 Test: atest Change-Id: Ib9945b0a4a39cf9fa3ce1612f5fd6d9cbe4160c6
This commit is contained in:
@@ -27309,6 +27309,7 @@ package android.media.tv {
|
||||
field public static final int TIME_SHIFT_STATUS_UNAVAILABLE = 2; // 0x2
|
||||
field public static final int TIME_SHIFT_STATUS_UNKNOWN = 0; // 0x0
|
||||
field public static final int TIME_SHIFT_STATUS_UNSUPPORTED = 1; // 0x1
|
||||
field public static final String TV_MESSAGE_KEY_STREAM_ID = "android.media.tv.TvInputManager.stream_id";
|
||||
field public static final String TV_MESSAGE_TYPE_CLOSED_CAPTION = "CC";
|
||||
field public static final String TV_MESSAGE_TYPE_WATERMARK = "Watermark";
|
||||
field public static final int VIDEO_UNAVAILABLE_REASON_AUDIO_ONLY = 4; // 0x4
|
||||
|
||||
@@ -144,6 +144,13 @@ public final class TvInputManager {
|
||||
@StringDef({TV_MESSAGE_TYPE_WATERMARK, TV_MESSAGE_TYPE_CLOSED_CAPTION})
|
||||
public @interface TvMessageType {}
|
||||
|
||||
/**
|
||||
* This constant is used as a {@link Bundle} key for TV messages. The value of the key
|
||||
* identifies the stream on the TV input source for which the watermark event is relevant to.
|
||||
*/
|
||||
public static final String TV_MESSAGE_KEY_STREAM_ID =
|
||||
"android.media.tv.TvInputManager.stream_id";
|
||||
|
||||
static final int VIDEO_UNAVAILABLE_REASON_START = 0;
|
||||
static final int VIDEO_UNAVAILABLE_REASON_END = 18;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user