diff options
author | Dongwon Kang <dwkang@google.com> | 2014-05-29 18:54:59 -0700 |
---|---|---|
committer | Dongwon Kang <dwkang@google.com> | 2014-06-02 13:31:39 +0900 |
commit | 21abb13274f379e69c3c86d51e493122cccca345 (patch) | |
tree | e51623f69a80c524eda369ab387ae575535fe3d6 /src/com/android/tv/data/StreamInfo.java | |
parent | 6bfbef7128e3303e03c2a1227295853e601cf692 (diff) | |
download | TV-21abb13274f379e69c3c86d51e493122cccca345.tar.gz |
Implement onVideoSizeChanged callback and show video format on the banner.
Bug: 14628404
Change-Id: Ie731e10af53819685b6678e3119ab717c7cf3e62
Diffstat (limited to 'src/com/android/tv/data/StreamInfo.java')
-rw-r--r-- | src/com/android/tv/data/StreamInfo.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/com/android/tv/data/StreamInfo.java b/src/com/android/tv/data/StreamInfo.java new file mode 100644 index 00000000..1cb1f30d --- /dev/null +++ b/src/com/android/tv/data/StreamInfo.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.tv.data; + +public interface StreamInfo { + public final int VIDEO_DEFINITION_LEVEL_UNKNOWN = 0; + public final int VIDEO_DEFINITION_LEVEL_SD = 1; + public final int VIDEO_DEFINITION_LEVEL_HD = 2; + public final int VIDEO_DEFINITION_LEVEL_FULL_HD = 3; + public final int VIDEO_DEFINITION_LEVEL_ULTRA_HD = 4; + + int getVideoDefinitionLevel(); +} |