VideoInfo

public final classVideoInfoextendsObject
implementsParcelable

A class that holds video properties of the current media session. The current VideoInfocan be obtained fromMediaStatus.

Nested Class Summary

class VideoInfo.Builder Builder forVideoInfo.

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
getHdrType()
Returns the HDR type of the current media session.
int
getHeight()
Returns the width of the height in pixels.
int
getWidth()
Returns the width of the video in pixels.
int
void
writeToParcel(Parcelout, int flags)

Inherited Method Summary

Constants

public static final int HDR_TYPE_DV

Dolby Vision.

Constant Value:3

public static final int HDR_TYPE_HDR

High Dynamic Range.

Constant Value:4

public static final int HDR_TYPE_HDR10

HDR10.

Constant Value:2

public static final int HDR_TYPE_SDR

Standard Dynamic Range.

Constant Value:1

public static final int HDR_TYPE_UNKNOWN

Unknown HDR type.

Constant Value:0

Public Methods

public booleanequals(Objectother)

public intgetHdrType()

Returns the HDR type of the current media session.

public intgetHeight()

Returns the width of the height in pixels.

public intgetWidth()

Returns the width of the video in pixels.

public inthashCode()

public voidwriteToParcel(Parcelout, int flags)