public final class

VideoInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.cast.VideoInfo

Class Overview

A class that holds video properties of the current media session. The current VideoInfo can be obtained from MediaStatus.

Summary

Constants
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.
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
boolean equals(Object other)
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 hashCode()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int HDR_TYPE_DV

Dolby Vision.

Constant Value: 3 (0x00000003)

public static final int HDR_TYPE_HDR

High Dynamic Range.

Constant Value: 4 (0x00000004)

public static final int HDR_TYPE_HDR10

HDR10.

Constant Value: 2 (0x00000002)

public static final int HDR_TYPE_SDR

Standard Dynamic Range.

Constant Value: 1 (0x00000001)

public static final int HDR_TYPE_UNKNOWN

Unknown HDR type.

Constant Value: 0 (0x00000000)

Public Methods

public boolean equals (Object other)

Parameters
other Object
Returns
boolean

public int getHdrType ()

Returns the HDR type of the current media session.

Returns
int

public int getHeight ()

Returns the width of the height in pixels.

Returns
int

public int getWidth ()

Returns the width of the video in pixels.

Returns
int

public int hashCode ()

Returns
int

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int