AI-generated Key Takeaways
-
VideoInfo is a class that holds video properties of the current media session and can be obtained from MediaStatus.
-
It includes constants to define different HDR types: HDR_TYPE_DV (Dolby Vision), HDR_TYPE_HDR (High Dynamic Range), HDR_TYPE_HDR10, HDR_TYPE_SDR (Standard Dynamic Range), and HDR_TYPE_UNKNOWN.
-
Public methods allow retrieval of the HDR type, height, and width of the video in pixels.
-
The class also includes standard methods like equals, hashCode, and writeToParcel for object comparison and parcelable implementation.
A class that holds video properties of the current media session. The current VideoInfo
can be
obtained from MediaStatus
.
Nested Class Summary
Constant Summary
| int | HDR_TYPE_DV | Dolby Vision. |
|---|---|---|
|
int
|
HDR_TYPE_HDR | High Dynamic Range. |
|
int
|
HDR_TYPE_HDR10 | HDR10. |
|
int
|
HDR_TYPE_SDR | Standard Dynamic Range. |
|
int
|
HDR_TYPE_UNKNOWN | Unknown HDR type. |
Inherited Constant Summary
Public Method Summary
| boolean | |
| int | |
| int | |
| int | |
| int | hashCode
()
|
| void |
Inherited Method Summary
Constants
public static final int HDR_TYPE_DV
Dolby Vision.
public static final int HDR_TYPE_HDR
High Dynamic Range.
public static final int HDR_TYPE_HDR10
HDR10.
public static final int HDR_TYPE_SDR
Standard Dynamic Range.
public static final int HDR_TYPE_UNKNOWN
Unknown HDR type.
Public Methods
public boolean equals ( Object other)
public int getHdrType ()
Returns the HDR type of the current media session.
public int getHeight ()
Returns the width of the height in pixels.
public int getWidth ()
Returns the width of the video in pixels.

