Android OpenTV Player SDK  5.30.0.1687258470
 All Classes Namespaces Functions Variables Pages
OTVDownloadMediaInfo Class Reference

Detailed Description

This class aggregates all the information pertaining to an adaptive streaming media representation.

The information contained in it is a snapshot of the current download.

See Also
OTVDownloadAsset

Inherits Parcelable.

Public Member Functions

final int getBitrate ()
 Returns the media bitrate variant as presented by the underlying adaptive bitrate manifest. More...
 
final String getResolution ()
 Returns the media resolution as presented by the underlying adaptive manifest. More...
 
final long getTotalSizeEstimate ()
 Returns an estimate of the total size in bytes, including non-video tracks. More...
 
final String toString ()
 Get a String representation of this Asset. More...
 

Member Function Documentation

final int getBitrate ( )

Returns the media bitrate variant as presented by the underlying adaptive bitrate manifest.

Returns
the media bitrate in bps.
final String getResolution ( )

Returns the media resolution as presented by the underlying adaptive manifest.

Returns
the media resolution if exists.
final long getTotalSizeEstimate ( )

Returns an estimate of the total size in bytes, including non-video tracks.

The resulting downloaded size in bytes can differ slightly.

Returns
an estimate of the total size in bytes.
final String toString ( )

Get a String representation of this Asset.